Merge pull request #482 from runelite-extended/revert-454-logg

Revert "Add sentry log support"
This commit is contained in:
Ganom
2019-06-03 00:50:50 -04:00
committed by GitHub
4 changed files with 0 additions and 44 deletions

View File

@@ -81,15 +81,4 @@ public interface RuneLitePlusConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "logOpt",
name = "Send logs",
description = "Send logs to help us analyze errors",
position = 4
)
default boolean logOpt()
{
return false;
}
}

View File

@@ -29,7 +29,6 @@ package net.runelite.client.plugins.runeliteplus;
import com.google.inject.Provides;
import java.awt.event.KeyEvent;
import javax.inject.Inject;
import io.sentry.Sentry;
import lombok.extern.slf4j.Slf4j;
import net.runelite.api.Client;
import net.runelite.api.events.ConfigChanged;
@@ -169,11 +168,6 @@ public class RuneLitePlusPlugin extends Plugin
ClientUI.frame.setTitle(ClientUI.currentPresenceName);
}
if (config.logOpt())
{
Sentry.init("https://f0ed76be2fe847f8b9eb3620fa55d729@sentry.io/1468399?stacktrace.app.packages=net.runelite.client");
}
if (config.customPresence())
{
RuneLiteProperties.discordAppID = rlPlusDiscordApp;