mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 23:47:21 +00:00
invert suppressed error reporting for dev enviroments
This commit is contained in:
parent
840608a40f
commit
da2dd42e28
@ -104,7 +104,7 @@ nmsBindings.forEach { key, value ->
|
|||||||
systemProperty("disable.watchdog", "")
|
systemProperty("disable.watchdog", "")
|
||||||
systemProperty("net.kyori.ansi.colorLevel", color)
|
systemProperty("net.kyori.ansi.colorLevel", color)
|
||||||
systemProperty("com.mojang.eula.agree", true)
|
systemProperty("com.mojang.eula.agree", true)
|
||||||
systemProperty("iris.errorReporting", errorReporting)
|
systemProperty("iris.suppressReporting", !errorReporting)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -956,7 +956,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
|||||||
|
|
||||||
private static void setupSentry() {
|
private static void setupSentry() {
|
||||||
var settings = IrisSettings.get().getSentry();
|
var settings = IrisSettings.get().getSentry();
|
||||||
if (settings.disableAutoReporting || Sentry.isEnabled() || !Boolean.getBoolean("iris.errorReporting")) return;
|
if (settings.disableAutoReporting || Sentry.isEnabled() || Boolean.getBoolean("iris.suppressReporting")) return;
|
||||||
Iris.info("Enabling Sentry for anonymous error reporting. You can disable this in the settings.");
|
Iris.info("Enabling Sentry for anonymous error reporting. You can disable this in the settings.");
|
||||||
Iris.info("Your server ID is: " + ServerID.ID);
|
Iris.info("Your server ID is: " + ServerID.ID);
|
||||||
Sentry.init(options -> {
|
Sentry.init(options -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user