Skip to content

Commit

Permalink
Fix for incorrect exception name
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Cooper authored and Brian Cooper committed Feb 2, 2016
1 parent 40a7224 commit f74f3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimeo/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _perform_upload(self, filename, ticket):
"""Take an upload ticket and perform the actual upload."""

if ticket.status_code != 201:
raise VideoTicketCreationFailure(ticket, "Failed to create an upload ticket")
raise UploadTicketCreationFailure(ticket, "Failed to create an upload ticket")

ticket = ticket.json()

Expand Down

0 comments on commit f74f3ec

Please sign in to comment.