mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-09-30 14:50:41 -04:00
Still print stacktrace when debug is on
This commit is contained in:
parent
e002f5f167
commit
eebacfa567
@ -20,6 +20,7 @@ public class AuthlibInjectorPremain {
|
|||||||
try {
|
try {
|
||||||
initInjector(arg, instrumentation, false);
|
initInjector(arg, instrumentation, false);
|
||||||
} catch (InjectorInitializationException e) {
|
} catch (InjectorInitializationException e) {
|
||||||
|
Logging.LAUNCH.log(Level.FINE, "A known exception has occurred", e);
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
Logging.LAUNCH.log(Level.SEVERE, "An exception has occurred, exiting", e);
|
Logging.LAUNCH.log(Level.SEVERE, "An exception has occurred, exiting", e);
|
||||||
@ -32,7 +33,7 @@ public class AuthlibInjectorPremain {
|
|||||||
Logging.LAUNCH.info("Launched from agentmain");
|
Logging.LAUNCH.info("Launched from agentmain");
|
||||||
initInjector(arg, instrumentation, true);
|
initInjector(arg, instrumentation, true);
|
||||||
} catch (InjectorInitializationException e) {
|
} catch (InjectorInitializationException e) {
|
||||||
;
|
Logging.LAUNCH.log(Level.FINE, "A known exception has occurred", e);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
Logging.LAUNCH.log(Level.SEVERE, "An exception has occurred", e);
|
Logging.LAUNCH.log(Level.SEVERE, "An exception has occurred", e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user