mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Small improvements
This commit is contained in:
@@ -820,10 +820,8 @@ public class FragmentContacts extends FragmentBase {
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
if (ex instanceof IllegalArgumentException)
|
||||
ToastEx.makeText(getContext(), ex.getMessage(), Toast.LENGTH_LONG).show();
|
||||
else
|
||||
Log.unexpectedError(getParentFragmentManager(), ex);
|
||||
boolean report = !(ex instanceof IllegalArgumentException);
|
||||
Log.unexpectedError(getParentFragmentManager(), ex, report);
|
||||
}
|
||||
}.execute(this, args, "contacts:name");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user