Improved error logging

pull/208/head
M66B 2 years ago
parent ea85ec0a42
commit 40329e9022

@ -453,6 +453,10 @@ public class EmailService implements AutoCloseable {
// "Synchronizing and configuring accounts will work again after Microsoft has fixed this.", // "Synchronizing and configuring accounts will work again after Microsoft has fixed this.",
// ex.getNextException()); // 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) { if (auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) {
try { try {
authenticator.refreshToken(true); authenticator.refreshToken(true);

Loading…
Cancel
Save