mirror of https://github.com/M66B/FairEmail.git
Log full stack trace
This commit is contained in:
parent
c692777d66
commit
9ddecc91f7
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue