mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Handle all unexpected errors
This commit is contained in:
@@ -454,6 +454,11 @@ public class FragmentSetup extends FragmentEx {
|
||||
EntityOperation.sync(db, folder.id);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
|
||||
}
|
||||
}.load(FragmentSetup.this, new Bundle());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user