mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Small improvements
This commit is contained in:
@@ -136,10 +136,8 @@ public class FragmentDialogRuleCheck extends FragmentDialogBase {
|
||||
|
||||
@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(FragmentDialogRuleCheck.this, args, "rule:execute");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user