Improved logging

This commit is contained in:
M66B 2019-09-06 11:38:15 +02:00
parent 965bb98c44
commit 3b81596d68
1 changed files with 2 additions and 1 deletions

View File

@ -1535,7 +1535,8 @@ class Core {
for (EntityAttachment attachment : parts.getAttachments()) {
Log.i(folder.name + " attachment seq=" + sequence +
" name=" + attachment.name + " type=" + attachment.type +
" cid=" + attachment.cid + " pgp=" + attachment.encryption);
" cid=" + attachment.cid + " pgp=" + attachment.encryption +
" size=" + attachment.size);
attachment.message = message.id;
attachment.sequence = sequence++;
attachment.id = db.attachment().insertAttachment(attachment);