mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-14 08:01:23 +00:00
Reduce logging
This commit is contained in:
parent
e0b6060252
commit
20f0e0a15a
1 changed files with 4 additions and 1 deletions
|
@ -1429,6 +1429,9 @@ public class MessageHelper {
|
||||||
throw new MessagingException("downloadAttachment", ex);
|
throw new MessagingException("downloadAttachment", ex);
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
// Reset progress on failure
|
// Reset progress on failure
|
||||||
|
if (ex instanceof IOException)
|
||||||
|
Log.i(ex);
|
||||||
|
else
|
||||||
Log.e(ex);
|
Log.e(ex);
|
||||||
db.attachment().setError(local.id, Log.formatThrowable(ex));
|
db.attachment().setError(local.id, Log.formatThrowable(ex));
|
||||||
throw ex;
|
throw ex;
|
||||||
|
|
Loading…
Add table
Reference in a new issue