mirror of https://github.com/M66B/FairEmail.git
Reduced logging
This commit is contained in:
parent
d034845aec
commit
59182fb014
|
@ -137,7 +137,8 @@ public class GmailState {
|
|||
acquired = new Date().getTime();
|
||||
} else if (needsRefresh) {
|
||||
EntityLog.log(context, logType, "Token refresh failed user=" + id + ":" + user);
|
||||
Log.e("Token refresh failed id=" + id);
|
||||
if (!BuildConfig.PLAY_STORE_RELEASE)
|
||||
Log.e("Token refresh failed id=" + id);
|
||||
}
|
||||
|
||||
if (token == null)
|
||||
|
|
|
@ -193,7 +193,8 @@ public class ServiceAuthenticator extends Authenticator {
|
|||
Log.i("OAuth refreshed user=" + id + ":" + user);
|
||||
|
||||
if (holder.error != null) {
|
||||
Log.e(new Throwable("Token refresh failed id=" + id, holder.error));
|
||||
if (!BuildConfig.PLAY_STORE_RELEASE)
|
||||
Log.e(new Throwable("Token refresh failed id=" + id, holder.error));
|
||||
throw holder.error;
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Reference in New Issue