diff --git a/src/main/java/com/google/devtools/build/lib/authandtls/GoogleAuthUtils.java b/src/main/java/com/google/devtools/build/lib/authandtls/GoogleAuthUtils.java index 409263929c7cdc..70e235b394fbcf 100644 --- a/src/main/java/com/google/devtools/build/lib/authandtls/GoogleAuthUtils.java +++ b/src/main/java/com/google/devtools/build/lib/authandtls/GoogleAuthUtils.java @@ -330,7 +330,7 @@ public static Credentials newGoogleCredentialsFromFile( creds = creds.createScoped(authScopes); } return creds; - } catch (IOException e) { + } catch (Exception e) { String message = "Failed to init auth credentials: " + e.getMessage(); throw new IOException(message, e); }