Skip to content

Commit

Permalink
Fixed raise message
Browse files Browse the repository at this point in the history
  • Loading branch information
nishiyamaosamu committed Nov 2, 2013
1 parent 36f7884 commit 9fc9a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws/s3/uploaded_part.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fc9a88

Please sign in to comment.