Always report unexpected errors

This commit is contained in:
M66B
2018-12-01 10:47:08 +01:00
parent fe60acee7c
commit ce88d04a0f
11 changed files with 115 additions and 1 deletions

View File

@@ -578,6 +578,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
.putExtra("id", id));
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(ActivityView.this, ex);
}
}.load(this, new Bundle());
}
@@ -741,6 +746,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
.putExtra("account", account)
.putExtra("folder", folder));
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(ActivityView.this, ex);
}
}.load(this, args);
}
@@ -1379,7 +1389,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override
protected void onException(Bundle args, Throwable ex) {
Log.e(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
Helper.unexpectedError(ActivityView.this, ex);
}
}.load(this, args);