Add sentry ignored exception logger save to debuglog

Former-commit-id: 62e6553568b263492625dfd7de427c1bc8de6734
This commit is contained in:
Ghost_chu committed 2020-03-15 10:10:11 +08:00
1 parent 4d76ee8d2c
commit 95d1bb7ab2
1 file changed
+2
@@ -315,6 +315,8 @@ public class SentryErrorReporter {
plugin.getLogger().warning("Event ID: " + this.context.getLastEventId());
plugin.getLogger().warning("Server ID: " + plugin.getServerUniqueID());
plugin.getLogger().warning("====QuickShop Error Report E N D===");
Util.debugLog(throwable.getMessage());
Arrays.stream(throwable.getStackTrace()).forEach(a -> Util.debugLog(a.getClassName() + "." + a.getMethodName() + ":" + a.getLineNumber()));
if (Util.isDevMode()) {
throwable.printStackTrace();
}