Skip to content

Commit 085f179

Browse files
committed
Added source exception to rethrown crypto exception
1 parent 0a5d48c commit 085f179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public EncryptedBlobClientBuilder endpoint(String endpoint) {
511511
}
512512
} catch (MalformedURLException ex) {
513513
throw logger.logExceptionAsError(
514-
new IllegalArgumentException("The Azure Storage Blob endpoint url is malformed."));
514+
new IllegalArgumentException("The Azure Storage Blob endpoint url is malformed.", ex));
515515
}
516516
return this;
517517
}

0 commit comments

Comments
 (0)