Debug info: zip log files

pull/210/head
M66B 3 years ago
parent 078820c7c9
commit 097fb571a2

@ -2609,6 +2609,8 @@ public class Log {
} }
db.attachment().setDownloaded(attachment.id, size); db.attachment().setDownloaded(attachment.id, size);
if (!BuildConfig.DEBUG)
attachment.zip(context);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);
} }
@ -2717,6 +2719,8 @@ public class Log {
} }
db.attachment().setDownloaded(attachment.id, size); db.attachment().setDownloaded(attachment.id, size);
if (!BuildConfig.DEBUG)
attachment.zip(context);
} finally { } finally {
if (proc != null) if (proc != null)
proc.destroy(); proc.destroy();

Loading…
Cancel
Save