I/O errors are expected

pull/190/head
M66B 5 years ago
parent 2b0bdebab0
commit b7777cfc52

@ -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");

Loading…
Cancel
Save