mirror of https://github.com/M66B/FairEmail.git
Improved logging
This commit is contained in:
parent
88bc43f836
commit
0dcf30d519
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue