mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
disable global reporter
Former-commit-id: b17a57ee759b93a5edc2fbf2f0bd221c434036c4 [formerly dfbcf139eaf4513fa9cfd40131b45bcf7ba08535] Former-commit-id: 4d11473b29f361d341818c0300d0371da92d5f75
This commit is contained in:
1 parent
ca5886196d
commit
e718e07148
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class SentryErrorReporter {
|
||||
sentryClient.setRelease(QuickShop.getVersion());
|
||||
sentryClient.setEnvironment(Util.isDevEdition() ? "Development" : "Production");
|
||||
plugin.getLogger().setFilter(new QuickShopExceptionFilter()); //Redirect log request passthrough our error catcher.
|
||||
Bukkit.getLogger().setFilter(new GlobalExceptionFilter());
|
||||
//Bukkit.getLogger().setFilter(new GlobalExceptionFilter());
|
||||
/* Ignore we won't report errors */
|
||||
ignoredException.add(IOException.class);
|
||||
ignoredException.add(OutOfMemoryError.class);
|
||||
|
||||
Reference in new issue
Block a user