From c667ca675ed2397b14965beaeebc9b7a5078d455 Mon Sep 17 00:00:00 2001 From: Ghost_chu <30802565+Ghost-chu@users.noreply.github.com> Date: Wed, 22 Jan 2020 23:46:47 +0800 Subject: [PATCH] Update SentryErrorReporter.java Former-commit-id: 9a05d4422d1d4ee977765ab6bdf93126609669da --- .../java/org/maxgamer/quickshop/Util/SentryErrorReporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());