mirror of https://github.com/M66B/FairEmail.git
Reduce error reporting
This commit is contained in:
parent
f917ebe1b4
commit
1764c52b2d
|
@ -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) {
|
||||
/*
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue