Skip to content

Commit

Permalink
Pass through MalformedURLException
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka authored and andrewazores committed Dec 19, 2024
1 parent 0f84d02 commit 5c27990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/targets/Target.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void prePersist(Target target) {
target.connectUrl));
}
} catch (MalformedURLException me) {
throw new IllegalArgumentException();
throw new IllegalArgumentException(me);
}
if (target.labels == null) {
target.labels = new HashMap<>();
Expand Down

0 comments on commit 5c27990

Please sign in to comment.