mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Always report unexpected errors
This commit is contained in:
@@ -994,6 +994,11 @@ public class FragmentAccount extends FragmentEx {
|
||||
protected void onLoaded(Bundle args, Integer count) {
|
||||
cbPrimary.setChecked(count == 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Helper.unexpectedError(getContext(), ex);
|
||||
}
|
||||
}.load(FragmentAccount.this, new Bundle());
|
||||
} else {
|
||||
int provider = savedInstanceState.getInt("provider");
|
||||
@@ -1030,8 +1035,18 @@ public class FragmentAccount extends FragmentEx {
|
||||
folders = new ArrayList<>();
|
||||
setFolders(folders);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Helper.unexpectedError(getContext(), ex);
|
||||
}
|
||||
}.load(FragmentAccount.this, args);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Helper.unexpectedError(getContext(), ex);
|
||||
}
|
||||
}.load(this, args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user