mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 01:23:38 +02:00
Small improvements
This commit is contained in:
@@ -488,10 +488,8 @@ public class ActivityEML extends ActivityBase {
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
if (ex instanceof IllegalArgumentException || ex instanceof FileNotFoundException)
|
||||
ToastEx.makeText(ActivityEML.this, ex.getMessage(), Toast.LENGTH_LONG).show();
|
||||
else
|
||||
Log.unexpectedError(getSupportFragmentManager(), ex);
|
||||
boolean report = !(ex instanceof IllegalArgumentException || ex instanceof FileNotFoundException);
|
||||
Log.unexpectedError(getSupportFragmentManager(), ex, report);
|
||||
}
|
||||
}.execute(this, args, "eml:attachment");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user