[BUILD] Make AWS error message more informative
Original commit: elastic/x-pack-elasticsearch@42cca7ed82
This commit is contained in:
parent
7d19264363
commit
104a3a323f
|
@ -111,7 +111,7 @@ S3Object getZip() {
|
|||
return client.getObject('prelert-artifacts', key)
|
||||
} catch (AmazonServiceException e) {
|
||||
if (e.getStatusCode() != 403) {
|
||||
throw new GradleException('Error while trying to get ml-cpp snapshot', e)
|
||||
throw new GradleException('Error while trying to get ml-cpp snapshot: ' + e.getMessage(), e)
|
||||
}
|
||||
sleep(500)
|
||||
retries--
|
||||
|
|
Loading…
Reference in New Issue