mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-08-17 08:45:56 +00:00
correct sentry dsn
This commit is contained in:
parent
ce2b62f5ae
commit
b66e6d8335
@ -490,6 +490,8 @@ public class Iris extends VolmitPlugin implements Listener {
|
|||||||
checkForBukkitWorlds();
|
checkForBukkitWorlds();
|
||||||
IrisToolbelt.retainMantleDataForSlice(String.class.getCanonicalName());
|
IrisToolbelt.retainMantleDataForSlice(String.class.getCanonicalName());
|
||||||
IrisToolbelt.retainMantleDataForSlice(BlockData.class.getCanonicalName());
|
IrisToolbelt.retainMantleDataForSlice(BlockData.class.getCanonicalName());
|
||||||
|
|
||||||
|
reportError(new Exception("This is a test"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -950,7 +952,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
|||||||
var settings = IrisSettings.get().getSentry();
|
var settings = IrisSettings.get().getSentry();
|
||||||
if (settings.disableAutoReporting || Sentry.isEnabled()) return;
|
if (settings.disableAutoReporting || Sentry.isEnabled()) return;
|
||||||
Sentry.init(options -> {
|
Sentry.init(options -> {
|
||||||
options.setDsn("https://9e190553a1aea18f1cab566cbc894d3f@o4509451052646400.ingest.de.sentry.io/4509451115036752");
|
options.setDsn("https://b16ecc222e9c1e0c48faecacb906fd89@o4509451052646400.ingest.de.sentry.io/4509452722765904");
|
||||||
if (settings.debug) {
|
if (settings.debug) {
|
||||||
options.setLogger(new IrisLogger());
|
options.setLogger(new IrisLogger());
|
||||||
options.setDebug(true);
|
options.setDebug(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user