From b5dc6324f823411ad15eccd0cd30a51d69978327 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 1 Apr 2023 13:15:35 -0700 Subject: [PATCH] Give a more detailed s3 failure error message --- core/storageproviders/s3Storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/storageproviders/s3Storage.go b/core/storageproviders/s3Storage.go index 1495d50d2..92002126d 100644 --- a/core/storageproviders/s3Storage.go +++ b/core/storageproviders/s3Storage.go @@ -181,7 +181,7 @@ func (s *S3Storage) Save(filePath string, retryCount int) (string, error) { 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