Skip to content

Commit f46bbef

Browse files
committed
catch
1 parent 0463d2a commit f46bbef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

auth/src/main/java/com/google/firebase/quickstart/AuthSnippets.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ public static void verifyIdTokenCheckRevoked(String idToken) throws InterruptedE
219219
FirebaseToken decodedToken = FirebaseAuth.getInstance().verifyIdTokenAsync(idToken, checkRevoked).get();
220220
// Token is valid and not revoked.
221221
String uid = decodedToken.getUid();
222-
}
223-
catch (FirebaseAuthException e) {
222+
} catch (FirebaseAuthException e) {
224223
if ("id-token-revoked".equals(e.getErrorCode())) {
225224
// Token has been revoked. Inform the user to reauthenticate or signOut() the user.
226225
} else {

0 commit comments

Comments
 (0)