Reduce error reporting

This commit is contained in:
M66B
2019-05-14 10:07:05 +02:00
parent f917ebe1b4
commit 1764c52b2d
2 changed files with 5 additions and 1 deletions

View File

@@ -80,6 +80,10 @@ public class Log {
return android.util.Log.e(TAG, msg);
}
public static int i(Throwable ex) {
return android.util.Log.w(TAG, ex + "\n" + android.util.Log.getStackTraceString(ex));
}
public static int w(Throwable ex) {
Bugsnag.notify(ex, Severity.INFO);
return android.util.Log.w(TAG, ex + "\n" + android.util.Log.getStackTraceString(ex));