mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Log OAuth token errors
This commit is contained in:
@@ -122,7 +122,8 @@ public class GmailState {
|
||||
if (newToken != null && !newToken.equals(token)) {
|
||||
token = newToken;
|
||||
acquired = new Date().getTime();
|
||||
}
|
||||
} else
|
||||
Log.e("Token refresh failed id=" + id + " token=" + (token != null));
|
||||
|
||||
if (token == null)
|
||||
throw new AuthenticatorException("No token for " + id + ":" + user);
|
||||
|
||||
Reference in New Issue
Block a user