OSDN Git Service

Merge branch 'bugfix/crashHandle' into develop
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Wed, 4 May 2022 12:14:56 +0000 (21:14 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Wed, 4 May 2022 12:14:56 +0000 (21:14 +0900)
1  2 
src/com/ranfa/main/DelesteRandomSelector.java

@@@ -326,12 -319,9 +326,12 @@@ public class DelesteRandomSelector exte
                        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());