remove jsonified exception handler

This commit is contained in:
slice 2018-06-19 18:12:57 -07:00
parent ab4857086a
commit efbcbafce4
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
1 changed files with 0 additions and 9 deletions

9
run.py
View File

@ -75,15 +75,6 @@ async def handle_litecord_err(err):
}), err.status_code
@app.errorhandler(Exception)
def handle_exception(err):
log.exception('Error happened in the app')
return jsonify({
'error': True,
'message': repr(err)
}), 500
@app.route('/')
async def index():
return 'hewwo'