mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
I/O errors are expected
This commit is contained in:
@@ -2262,8 +2262,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
if (ex instanceof IOException &&
|
||||
ex.getCause() instanceof ErrnoException &&
|
||||
((ErrnoException) ex.getCause()).errno == ENOSPC)
|
||||
ex = new Throwable(getContext().getString(R.string.app_cake), ex);
|
||||
Log.unexpectedError(getParentFragmentManager(), ex);
|
||||
ex = new IOException(getContext().getString(R.string.app_cake), ex);
|
||||
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
|
||||
}
|
||||
}
|
||||
}.execute(this, args, "compose:attachment:add");
|
||||
|
||||
Reference in New Issue
Block a user