1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 07:01:05 +00:00

Improved logging

This commit is contained in:
M66B 2022-03-29 22:33:32 +02:00
parent 88bc43f836
commit 0dcf30d519

View file

@ -2230,7 +2230,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
iservice.dump(account.name); iservice.dump(account.name);
Log.e(account.name, ex); Log.e(account.name, ex);
EntityLog.log(this, EntityLog.Type.Account, account, EntityLog.log(this, EntityLog.Type.Account, account,
account.name + " connect " + Log.formatThrowable(ex, false)); account.name + " connect " + ex + "\n" + android.util.Log.getStackTraceString(ex));
db.account().setAccountError(account.id, Log.formatThrowable(ex)); db.account().setAccountError(account.id, Log.formatThrowable(ex));
// Report account connection error // Report account connection error