mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-12 23:28:37 +00:00
Reduce logging
This commit is contained in:
parent
e0b6060252
commit
20f0e0a15a
1 changed files with 4 additions and 1 deletions
|
@ -1429,7 +1429,10 @@ 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
|
||||||
Log.e(ex);
|
if (ex instanceof IOException)
|
||||||
|
Log.i(ex);
|
||||||
|
else
|
||||||
|
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