Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tell about exceptions
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 21, 2015
1 parent 63c89ab commit 5184874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Expand Up @@ -179,8 +179,8 @@ def checkgenerator(f):
r.status_code)) # formatception!
else:
yield failed
except:
yield unknown.format('An unhandled exception occurred.')
except Exception as e:
yield unknown.format('An unhandled exception occurred: ' + str(e))

return render_template('checkresult.html', data=checkgenerator(request.form))

Expand Down

0 comments on commit 5184874

Please sign in to comment.