Skip to content

Commit

Permalink
Change log to debug for exceptions while fetching Identity token (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
isha97 authored Sep 5, 2024
1 parent 5f3f62d commit 54e967e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public static Optional<String> fetchIdentityToken(String audience) {

return Optional.ofNullable(idTokenCredentials.refreshAccessToken().getTokenValue());
} catch (IOException | IllegalArgumentException ex) {
log.info("Unable to obtain identity token", ex);
log.info("Unable to obtain identity token");
log.debug("Exception while fetching identity token", ex);
}
return Optional.empty();
}
Expand Down

0 comments on commit 54e967e

Please sign in to comment.