mirror of https://github.com/M66B/FairEmail.git
Improved error message
This commit is contained in:
parent
66167a185d
commit
835851e93d
|
@ -3450,7 +3450,7 @@ public class MessageHelper {
|
||||||
db.attachment().setDownloaded(attachment.id, efile.length());
|
db.attachment().setDownloaded(attachment.id, efile.length());
|
||||||
}
|
}
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(ex);
|
Log.e(new Throwable(local.name, ex));
|
||||||
db.attachment().setWarning(local.id, Log.formatThrowable(ex));
|
db.attachment().setWarning(local.id, Log.formatThrowable(ex));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3535,7 +3535,7 @@ public class MessageHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(ex);
|
Log.e(new Throwable(local.name, ex));
|
||||||
// ArchiveException: Unsupported feature encryption used in entry ...
|
// ArchiveException: Unsupported feature encryption used in entry ...
|
||||||
// UnsupportedZipFeatureException: No Archiver found for the stream signature
|
// UnsupportedZipFeatureException: No Archiver found for the stream signature
|
||||||
if (ex instanceof ArchiveException ||
|
if (ex instanceof ArchiveException ||
|
||||||
|
|
Loading…
Reference in New Issue