Browse Source

Log full stack trace

main
M66B 6 years ago
parent
commit
9ddecc91f7
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 3
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -367,9 +367,7 @@ public class ServiceSynchronize extends LifecycleService {
else else
action = account + "/" + folder; action = account + "/" + folder;
StackTraceElement[] ste = ex.getStackTrace();
EntityLog.log(this, action + "\n" + ex.toString() +
(ste != null && ste.length > 0 ? "\n" + ste[0].toString() : ""));
EntityLog.log(this, action + "\n" + ex.toString() + "\n" + Log.getStackTraceString(ex));
if (!(ex instanceof MailConnectException) && if (!(ex instanceof MailConnectException) &&
!(ex instanceof FolderClosedException) && !(ex instanceof FolderClosedException) &&


Loading…
Cancel
Save