mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Report attachment errors
This commit is contained in:
@@ -1893,7 +1893,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
} catch (IOException ex) {
|
||||
// Reset progress on failure
|
||||
db.attachment().setProgress(attachment.id, null);
|
||||
Log.e(ex);
|
||||
db.attachment().setError(attachment.id, Helper.formatThrowable(ex, false));
|
||||
throw ex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user