improve error message for when an upload to s3 fails