diff --git a/lib/aws/s3/uploaded_part.rb b/lib/aws/s3/uploaded_part.rb index 18c3f33d086..dc4130ad683 100644 --- a/lib/aws/s3/uploaded_part.rb +++ b/lib/aws/s3/uploaded_part.rb @@ -73,7 +73,7 @@ def get_attribute(name) part = resp.parts.first and part.part_number == part_number and part.send(name)) or - raise "part 3 of upload abc123 does not exist" + raise "part #{part_number} of upload #{upload.id} does not exist" end end