Improved error message

This commit is contained in:
M66B 2022-03-22 14:06:49 +01:00
parent 66167a185d
commit 835851e93d
1 changed files with 2 additions and 2 deletions

View File

@ -3450,7 +3450,7 @@ public class MessageHelper {
db.attachment().setDownloaded(attachment.id, efile.length());
}
} catch (Throwable ex) {
Log.e(ex);
Log.e(new Throwable(local.name, ex));
db.attachment().setWarning(local.id, Log.formatThrowable(ex));
}
else
@ -3535,7 +3535,7 @@ public class MessageHelper {
}
}
} catch (Throwable ex) {
Log.e(ex);
Log.e(new Throwable(local.name, ex));
// ArchiveException: Unsupported feature encryption used in entry ...
// UnsupportedZipFeatureException: No Archiver found for the stream signature
if (ex instanceof ArchiveException ||