mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Merge remote-tracking branch 'origin/master'
Former-commit-id: e71ab7b4a2fd531a4dc7fadc2aba37bd43fb2816
This commit is contained in:
commit
e9356ebcbb
2 files changed
+2
-6
No files matched your search
@@ -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<String> 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());
|
||||
|
||||
Reference in new issue
Block a user