OSDN Git Service

fix: fix not showing top-level exception message
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Sat, 7 May 2022 07:37:13 +0000 (16:37 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Sat, 7 May 2022 07:37:13 +0000 (16:37 +0900)
generated/database.json
src/com/ranfa/lib/handler/CrashHandler.java

index 6f788bf..19d5bd8 100644 (file)
     "level" : 28,
     "notes" : 946,
     "albumType" : "Always"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ニッポン笑顔百景",
+    "difficulty" : "DEBUT",
+    "level" : 8,
+    "notes" : 138,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ニッポン笑顔百景",
+    "difficulty" : "REGULAR",
+    "level" : 13,
+    "notes" : 225,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ニッポン笑顔百景",
+    "difficulty" : "PRO",
+    "level" : 18,
+    "notes" : 468,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ニッポン笑顔百景",
+    "difficulty" : "MASTER",
+    "level" : 26,
+    "notes" : 769,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ニッポン笑顔百景",
+    "difficulty" : "MASTER+",
+    "level" : 29,
+    "notes" : 996,
+    "albumType" : "Always"
   } ]
 }
\ No newline at end of file
index 9a0acb8..1e5f2f1 100644 (file)
@@ -99,6 +99,7 @@ public class CrashHandler {
                                crashReportLines.add("---------------------------------------------------------------------------------------");
                                crashReportLines.emptyLine();
                                crashReportLines.add("Stacktrace:");
+                               crashReportLines.add(e.getMessage());
                                addLinesRecursively(e, crashReportLines);
                        }
                        LOG.debug("Gathering system informations.");