return status code 500 when handling http 500s

This commit is contained in:
slice 2018-11-18 23:44:48 -08:00
parent 9c6e60643e
commit 2f377e1d69
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
1 changed files with 1 additions and 1 deletions

2
run.py
View File

@ -279,7 +279,7 @@ async def handle_500(err):
'error': True,
'message': repr(err),
'internal_server_error': True,
})
}), 500
@app.route('/')