mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Improved error logging
This commit is contained in:
@@ -453,6 +453,10 @@ public class EmailService implements AutoCloseable {
|
||||
// "Synchronizing and configuring accounts will work again after Microsoft has fixed this.",
|
||||
// ex.getNextException());
|
||||
|
||||
if (!BuildConfig.PLAY_STORE_RELEASE)
|
||||
Log.e(ex);
|
||||
EntityLog.log(context, ex + "\n" + android.util.Log.getStackTraceString(ex));
|
||||
|
||||
if (auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) {
|
||||
try {
|
||||
authenticator.refreshToken(true);
|
||||
|
||||
Reference in New Issue
Block a user