Skip to content

Commit

Permalink
feedback: add message to exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhumin8 committed Nov 4, 2024
1 parent d81aafe commit a8d466f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ public byte[] sign(byte[] toSign) {
transportFactory.create(),
toSign,
ImmutableMap.of("delegates", this.delegates));
} catch (IOException e) {
} catch (IOException ex) {
// Throwing an IOException would be a breaking change, so wrap it here.
// This should not happen for this credential type.
throw new IllegalStateException(e);
throw new IllegalStateException("Failed to sign: Error obtaining universe domain", ex);
}
}

Expand Down

0 comments on commit a8d466f

Please sign in to comment.