mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 09:01:30 +01:00
Log full stack trace
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user