mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Add sentry ignored exception logger save to debuglog
Former-commit-id: 62e6553568b263492625dfd7de427c1bc8de6734
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user