Give a more detailed s3 failure error message
This commit is contained in:
parent
ae04b97a2a
commit
b5dc6324f8
@ -181,7 +181,7 @@ func (s *S3Storage) Save(filePath string, retryCount int) (string, error) {
|
|||||||
return s.Save(filePath, retryCount+1)
|
return s.Save(filePath, retryCount+1)
|
||||||
}
|
}
|
||||||
|
|
||||||
return "", fmt.Errorf("Giving up on %s", filePath)
|
return "", fmt.Errorf("Giving up uploading %s to object storage %s", filePath, s.s3Endpoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
return response.Location, nil
|
return response.Location, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user