Improved error logging

This commit is contained in:
M66B 2022-06-08 14:04:00 +02:00
parent ea85ec0a42
commit 40329e9022
1 changed files with 4 additions and 0 deletions

View File

@ -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);