Skip to content

Commit 54e967e

Browse files
authored
Change log to debug for exceptions while fetching Identity token (GoogleCloudDataproc#1288)
1 parent 5f3f62d commit 54e967e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bigquery-connector-common/src/main/java/com/google/cloud/bigquery/connector/common/IdentityTokenSupplier.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ public static Optional<String> fetchIdentityToken(String audience) {
2929

3030
return Optional.ofNullable(idTokenCredentials.refreshAccessToken().getTokenValue());
3131
} catch (IOException | IllegalArgumentException ex) {
32-
log.info("Unable to obtain identity token", ex);
32+
log.info("Unable to obtain identity token");
33+
log.debug("Exception while fetching identity token", ex);
3334
}
3435
return Optional.empty();
3536
}

0 commit comments

Comments
 (0)