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

@ -60,7 +60,7 @@ public class FixedRecyclerView extends RecyclerView {
at androidx.recyclerview.widget.RecyclerView.dispatchOnItemTouch(SourceFile:2947)
at androidx.recyclerview.widget.RecyclerView.onTouchEvent(SourceFile:3090)
*/
Log.w(ex);
Log.i(ex);
return false;
} catch (NullPointerException ex) {
/*

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));