Log full stack trace

This commit is contained in:
M66B 2018-09-04 12:33:59 +00:00
parent c692777d66
commit 9ddecc91f7
1 changed files with 1 additions and 3 deletions

View File

@ -367,9 +367,7 @@ public class ServiceSynchronize extends LifecycleService {
else
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) &&
!(ex instanceof FolderClosedException) &&