Reduce logging

pull/174/head
M66B 6 years ago
parent e0b6060252
commit 20f0e0a15a

@ -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…
Cancel
Save