mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Debug info: zip log files
This commit is contained in:
@@ -2609,6 +2609,8 @@ public class Log {
|
||||
}
|
||||
|
||||
db.attachment().setDownloaded(attachment.id, size);
|
||||
if (!BuildConfig.DEBUG)
|
||||
attachment.zip(context);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
@@ -2717,6 +2719,8 @@ public class Log {
|
||||
}
|
||||
|
||||
db.attachment().setDownloaded(attachment.id, size);
|
||||
if (!BuildConfig.DEBUG)
|
||||
attachment.zip(context);
|
||||
} finally {
|
||||
if (proc != null)
|
||||
proc.destroy();
|
||||
|
||||
Reference in New Issue
Block a user