mirror of https://github.com/apache/druid.git
More detailed AzureDataSegmentKiller error messgaes
This commit is contained in:
parent
5f1f4424eb
commit
fe7818ddd2
|
@ -56,8 +56,11 @@ public class AzureDataSegmentKiller implements DataSegmentKiller
|
|||
try {
|
||||
azureStorage.emptyCloudBlobDirectory(containerName, dirPath);
|
||||
}
|
||||
catch (StorageException | URISyntaxException e) {
|
||||
throw new SegmentLoadingException(e, "Couldn't kill segment[%s]", segment.getIdentifier());
|
||||
catch(StorageException e){
|
||||
throw new SegmentLoadingException(e, "Couldn't kill segment[%s]: [%s]", segment.getIdentifier(), e.getExtendedErrorInformation() == null ? null : e.getExtendedErrorInformation().getErrorMessage());
|
||||
}
|
||||
catch (URISyntaxException e) {
|
||||
throw new SegmentLoadingException(e, "Couldn't kill segment[%s]: [%s]", segment.getIdentifier(), e.getReason());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue