|
|
|
@ -1429,6 +1429,9 @@ public class MessageHelper {
|
|
|
|
|
throw new MessagingException("downloadAttachment", ex);
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
// Reset progress on failure
|
|
|
|
|
if (ex instanceof IOException)
|
|
|
|
|
Log.i(ex);
|
|
|
|
|
else
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
db.attachment().setError(local.id, Log.formatThrowable(ex));
|
|
|
|
|
throw ex;
|
|
|
|
|