Skip to content

Commit

Permalink
Added source exception to rethrown crypto exception
Browse files Browse the repository at this point in the history
  • Loading branch information
rickle-msft committed Apr 7, 2022
1 parent 0a5d48c commit 085f179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public EncryptedBlobClientBuilder endpoint(String endpoint) {
}
} catch (MalformedURLException ex) {
throw logger.logExceptionAsError(
new IllegalArgumentException("The Azure Storage Blob endpoint url is malformed."));
new IllegalArgumentException("The Azure Storage Blob endpoint url is malformed.", ex));
}
return this;
}
Expand Down

0 comments on commit 085f179

Please sign in to comment.