diff --git a/pom.xml b/pom.xml index 8cf3a9f64..5476bf21c 100644 --- a/pom.xml +++ b/pom.xml @@ -67,10 +67,6 @@ org.maxgamer.quickshop.commodore - - io.sentry - org.maxgamer.quickshop.shade.relocation.sentry - diff --git a/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java b/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java index 2f2db9914..09377cc9d 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java +++ b/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java @@ -47,7 +47,7 @@ import org.maxgamer.quickshop.Watcher.UpdateWatcher; /** Auto report errors to qs's sentry. */ public class SentryErrorReporter { private final String dsn = - "https://6a7881aa07164412bcb84a0f76253ae9@sentry.io/1473041?" + "https://1d14223850ee44b284b11734461ebbc5@sentry.io/1473041?" + "stacktrace.app.packages=org.maxgamer.quickshop"; private final ArrayList reported = new ArrayList<>(); private Context context; @@ -64,7 +64,7 @@ public class SentryErrorReporter { this.plugin = plugin; // sentryClient = Sentry.init(dsn); Util.debugLog("Loading SentryErrorReporter"); - sentryClient = Sentry.init(dsn);; + sentryClient = SentryClientFactory.create(dsn);; context = sentryClient.getContext(); Util.debugLog("Setting basic report data..."); // context.addTag("plugin_version", QuickShop.getVersion());