mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
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