Reduce logging

This commit is contained in:
M66B 2020-02-05 19:23:20 +01:00
parent e0b6060252
commit 20f0e0a15a
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}