Skip to content

Commit

Permalink
Merge pull request #25 from the-great-shazbot/patch-1
Browse files Browse the repository at this point in the history
Fix try/except flow for item PUT
  • Loading branch information
jslvtr authored Jan 18, 2020
2 parents 23a1797 + 4827d02 commit 37b57fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion section5/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def put(self, name):
try:
Item.update(updated_item)
except:
raise
return {"message": "An error occurred updating the item."}
return updated_item

Expand Down

0 comments on commit 37b57fb

Please sign in to comment.