Report attachment errors

This commit is contained in:
M66B
2019-06-29 16:52:43 +02:00
parent c94f272714
commit 7a988e3005
3 changed files with 4 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ public class EntityAttachment {
Helper.copy(source, target);
} catch (IOException ex) {
Log.e(ex);
db.attachment().setProgress(attachment.id, null);
db.attachment().setError(attachment.id, Helper.formatThrowable(ex, false));
}
}
}