Skip to content

Commit

Permalink
Revert "Include additional error details."
Browse files Browse the repository at this point in the history
This reverts commit 2f62997.
  • Loading branch information
dkocher committed Dec 19, 2024
1 parent 1307910 commit 972105b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ public class AzureExceptionMappingService extends AbstractExceptionMappingServic
public BackgroundException map(final StorageException failure) {
final StringBuilder buffer = new StringBuilder();
this.append(buffer, failure.getMessage());
if(failure.getExtendedErrorInformation() != null) {
for(String[] details : failure.getExtendedErrorInformation().getAdditionalDetails().values()) {
for(String detail : details) {
this.append(buffer, detail);
}
}
}
if(ExceptionUtils.getRootCause(failure) instanceof UnknownHostException) {
return new NotfoundException(buffer.toString(), failure);
}
Expand Down

0 comments on commit 972105b

Please sign in to comment.