diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-08-11 20:24:11 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-08-11 20:24:11 +0000 |
commit | fd3bd99b88393aa907f0f8000e7f6a7cf2d4a4f8 (patch) | |
tree | 142e691eaffe80196b52ba1daf6b2ce59d42b4f1 | |
parent | 8f3a8ca8aa080bbf2380620b308925eaebccbbbf (diff) | |
parent | ea6a04d425d3a82f49b475681b693183b0420dae (diff) | |
download | tools-studio-2022.1.1-canary.tar.gz |
Snap for 8934313 from ea6a04d425d3a82f49b475681b693183b0420dae to studio-ee-releasestudio-2022.1.1-rc3studio-2022.1.1-canarystudio-2022.1.1-beta4studio-2022.1.1-beta2studio-2022.1.1studio-canarystudio-2022.1.1-canary
Change-Id: I64a914b69a745054d934c6591bcfde1bcb12ece3
-rw-r--r-- | google-login-plugin/src/com/google/gct/login/GoogleLoginState.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/google-login-plugin/src/com/google/gct/login/GoogleLoginState.java b/google-login-plugin/src/com/google/gct/login/GoogleLoginState.java index eb6b073..3014180 100644 --- a/google-login-plugin/src/com/google/gct/login/GoogleLoginState.java +++ b/google-login-plugin/src/com/google/gct/login/GoogleLoginState.java @@ -218,7 +218,7 @@ public class GoogleLoginState { accessTokenExpiryTime = new GregorianCalendar().getTimeInMillis() / 1000 + authResponse.getExpiresInSeconds().longValue(); } catch (IOException e) { - getLogger().error("Could not obtain an OAuth2 access token.", e); + getLogger().warn("Could not obtain an OAuth2 access token.", e); throw e; } saveCredentials(); @@ -308,7 +308,7 @@ public class GoogleLoginState { "Error while signing in", "An error occurred while trying to sign in: " + e.getMessage() + ". See the error log for more details."); - getLogger().error( + getLogger().warn( "Could not sign in. Make sure that you entered the correct verification code.", e); return false; } @@ -362,7 +362,7 @@ public class GoogleLoginState { uiFacade.showErrorDialog( "Error while signing in", "An error occurred while trying to sign in: " + e.getMessage()); - getLogger().error("Could not sign in", e); + getLogger().warn("Could not sign in", e); return false; } isLoggedIn = true; |