More consistent logging text
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
56d5035c63
commit
922220c11e
@ -130,7 +130,7 @@ public final class EntryPoint {
|
|||||||
|
|
||||||
// Main loop
|
// Main loop
|
||||||
if (preLaunchAction == PreLaunchAction.ABORT) {
|
if (preLaunchAction == PreLaunchAction.ABORT) {
|
||||||
LOGGER.info("Launch aborted by the launcher.");
|
LOGGER.info("Launch aborted by the launcher");
|
||||||
|
|
||||||
return ExitCode.ABORT;
|
return ExitCode.ABORT;
|
||||||
}
|
}
|
||||||
@ -154,7 +154,7 @@ public final class EntryPoint {
|
|||||||
|
|
||||||
return ExitCode.NORMAL;
|
return ExitCode.NORMAL;
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
LOGGER.log(Level.SEVERE, "Wrong argument.", e);
|
LOGGER.log(Level.SEVERE, "Wrong argument", e);
|
||||||
|
|
||||||
return ExitCode.ILLEGAL_ARGUMENT;
|
return ExitCode.ILLEGAL_ARGUMENT;
|
||||||
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException e) {
|
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException e) {
|
||||||
|
@ -94,7 +94,7 @@ public final class LegacyFrame extends JFrame {
|
|||||||
try {
|
try {
|
||||||
setIconImage(ImageIO.read(new File("icon.png")));
|
setIconImage(ImageIO.read(new File("icon.png")));
|
||||||
} catch (IOException e) {
|
} 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());
|
addWindowListener(new ForceExitHandler());
|
||||||
|
Loading…
Reference in New Issue
Block a user