From 2f377e1d695c9ec124a416617f5786564bc31549 Mon Sep 17 00:00:00 2001 From: slice Date: Sun, 18 Nov 2018 23:44:48 -0800 Subject: [PATCH] return status code 500 when handling http 500s --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 8c410e8..7a09289 100644 --- a/run.py +++ b/run.py @@ -279,7 +279,7 @@ async def handle_500(err): 'error': True, 'message': repr(err), 'internal_server_error': True, - }) + }), 500 @app.route('/')