if(ex instanceof NullPointerException) {
handle.execute();
}
- handle = new CrashHandler(new IllegalStateException(ex));
+ handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
+ if(isDebugMode) {
+ logger.debug("WARNING: This is the debug mode. you cannot use outside API services.");
+ }
this.logger.debug("Loading settings...");
this.property.setCheckLibraryUpdates(Settings.needToCheckLibraryUpdates());
this.property.setCheckVersion(Settings.needToCheckVersion());