Skip to content

Commit a310ff9

Browse files
committed
Don't swallow original exception
1 parent 11faf92 commit a310ff9

File tree

1 file changed

+1
-1
lines changed
  • extensions/rest-client/runtime/src/main/java/org/jboss/shamrock/restclient/runtime

1 file changed

+1
-1
lines changed

extensions/rest-client/runtime/src/main/java/org/jboss/shamrock/restclient/runtime/RestClientBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Object create() {
4545
throw new IllegalArgumentException("The value of URL was invalid " + baseUrl);
4646
} catch (Exception e) {
4747
if ("com.oracle.svm.core.jdk.UnsupportedFeatureError".equals(e.getClass().getCanonicalName())) {
48-
throw new IllegalArgumentException(baseUrl + " requires SSL support but it is disabled. You probably have set shamrock.ssl.native to false.");
48+
throw new IllegalArgumentException(baseUrl + " requires SSL support but it is disabled. You probably have set shamrock.ssl.native to false.", e);
4949
}
5050
throw e;
5151
}

0 commit comments

Comments
 (0)