Skip to content

Commit

Permalink
Fixed new checkstyle rule in share file
Browse files Browse the repository at this point in the history
  • Loading branch information
rickle-msft committed Apr 7, 2022
1 parent 085f179 commit 89fe045
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public ShareClientBuilder endpoint(String endpoint) {
}
} catch (MalformedURLException ex) {
throw logger.logExceptionAsError(
new IllegalArgumentException("The Azure Storage File Service endpoint url is malformed."));
new IllegalArgumentException("The Azure Storage File Service endpoint url is malformed.", ex));
}

return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public ShareFileClientBuilder endpoint(String endpoint) {
}
} catch (MalformedURLException ex) {
throw logger.logExceptionAsError(
new IllegalArgumentException("The Azure Storage File endpoint url is malformed."));
new IllegalArgumentException("The Azure Storage File endpoint url is malformed.", ex));
}

return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public ShareServiceClientBuilder endpoint(String endpoint) {
}
} catch (MalformedURLException ex) {
throw logger.logExceptionAsError(
new IllegalArgumentException("The Azure Storage File Service endpoint url is malformed."));
new IllegalArgumentException("The Azure Storage File Service endpoint url is malformed.", ex));
}

return this;
Expand Down

0 comments on commit 89fe045

Please sign in to comment.