Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

Commit

Permalink
Merge pull request #14 from jonparrott/patch-2
Browse files Browse the repository at this point in the history
Update main.py
  • Loading branch information
lesv committed Mar 27, 2015
2 parents d976089 + 8b56fd9 commit c816aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Expand Up @@ -20,6 +20,6 @@ def page_not_found(e):


@app.errorhandler(500)
def page_not_found(e):
def application_error(e):
"""Return a custom 500 error."""
return 'Sorry, unexpected error: {}'.format(e), 500

0 comments on commit c816aef

Please sign in to comment.