Skip to content

Commit

Permalink
Catch more errors; I got a AttributeError 20 levels deeper just now
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Mar 9, 2016
1 parent ecd2233 commit 7dced58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elephantblog/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def tryrender(content):
try:
return content.render()
except TypeError: # Required request argument or something else?
except Exception: # Required request argument or something else?
return ''


Expand Down

0 comments on commit 7dced58

Please sign in to comment.