mirror of https://github.com/M66B/FairEmail.git
Improved logging
This commit is contained in:
parent
00e63483f3
commit
33f76acd09
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue