Skip to content

Commit 37b57fb

Browse files
authored
Merge pull request #25 from the-great-shazbot/patch-1
Fix try/except flow for item PUT
2 parents 23a1797 + 4827d02 commit 37b57fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

section5/item.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def put(self, name):
8686
try:
8787
Item.update(updated_item)
8888
except:
89-
raise
9089
return {"message": "An error occurred updating the item."}
9190
return updated_item
9291

0 commit comments

Comments
 (0)