More consistent logging text

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2022-11-04 11:00:20 +00:00
parent 56d5035c63
commit 922220c11e
2 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ public final class EntryPoint {
// Main loop
if (preLaunchAction == PreLaunchAction.ABORT) {
LOGGER.info("Launch aborted by the launcher.");
LOGGER.info("Launch aborted by the launcher");
return ExitCode.ABORT;
}
@ -154,7 +154,7 @@ public final class EntryPoint {
return ExitCode.NORMAL;
} catch (IllegalArgumentException e) {
LOGGER.log(Level.SEVERE, "Wrong argument.", e);
LOGGER.log(Level.SEVERE, "Wrong argument", e);
return ExitCode.ILLEGAL_ARGUMENT;
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException e) {

View File

@ -94,7 +94,7 @@ public final class LegacyFrame extends JFrame {
try {
setIconImage(ImageIO.read(new File("icon.png")));
} catch (IOException e) {
LOGGER.log(Level.WARNING, "Unable to read Minecraft icon!", e);
LOGGER.log(Level.WARNING, "Unable to read Minecraft icon", e);
}
addWindowListener(new ForceExitHandler());