mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
Improved logging
This commit is contained in:
@@ -84,7 +84,7 @@ public class GmailState {
|
||||
Log.e("Blocked token refresh id=" + id +
|
||||
" ago=" + (ago / 1000L) + " s" +
|
||||
" force=" + forceRefresh +
|
||||
" exp=" + (expiration == null ? null : new Date(expiration)));
|
||||
" exp=" + (expiration == null ? -1 : (expiration - now) / 1000L) + " s");
|
||||
return;
|
||||
}
|
||||
prefs.edit().putLong(key, now).apply();
|
||||
|
||||
@@ -181,7 +181,7 @@ public class ServiceAuthenticator extends Authenticator {
|
||||
Log.e("Blocked token refresh id=" + id +
|
||||
" ago=" + (ago / 1000L) + " s" +
|
||||
" force=" + forceRefresh +
|
||||
" exp=" + (expiration == null ? null : new Date(expiration)));
|
||||
" exp=" + (expiration == null ? -1 : (expiration - now) / 1000L) + " s");
|
||||
return;
|
||||
}
|
||||
prefs.edit().putLong(key, now).apply();
|
||||
|
||||
Reference in New Issue
Block a user