sentry: Update for new maven version
This commit is contained in:
@@ -29,7 +29,6 @@ import com.google.inject.Binder;
|
||||
import com.google.inject.Injector;
|
||||
import com.google.inject.Module;
|
||||
import io.reactivex.rxjava3.functions.Consumer;
|
||||
import io.sentry.Sentry;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Set;
|
||||
import lombok.AccessLevel;
|
||||
@@ -96,7 +95,6 @@ public abstract class Plugin implements Module, ExtensionPoint
|
||||
if (method.getExceptionTypes().length != 0)
|
||||
{
|
||||
log.warn("Event handlers should handle all checked exceptions themselves " + method.toString());
|
||||
Sentry.capture("EventHandler " + method.toString()); // Spam Owain's inbox with this :)
|
||||
}
|
||||
|
||||
method.setAccessible(true);
|
||||
|
||||
@@ -72,7 +72,7 @@ final class ClientPanel extends JPanel
|
||||
{
|
||||
JOptionPane.showMessageDialog(ClientUI.getFrame(), "Error loading Oldschool RuneScape!", "Error",
|
||||
JOptionPane.ERROR_MESSAGE);
|
||||
Sentry.capture(e);
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
|
||||
((Client) client).getLogger().error(null, e);
|
||||
|
||||
Reference in New Issue
Block a user