mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Reduce logging
This commit is contained in:
@@ -1429,7 +1429,10 @@ public class MessageHelper {
|
||||
throw new MessagingException("downloadAttachment", ex);
|
||||
} catch (Throwable ex) {
|
||||
// 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));
|
||||
throw ex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user