Handle all unexpected errors

This commit is contained in:
M66B
2018-12-11 11:31:31 +01:00
parent 3f93a999fa
commit f14de224aa
5 changed files with 28 additions and 7 deletions

View File

@@ -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());
}