diff options
Diffstat (limited to 'gn2/wqflask/views.py')
-rw-r--r-- | gn2/wqflask/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 3156e07c..a5376a69 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -137,6 +137,7 @@ def handle_generic_exceptions(e): stack={formatted_lines}, error_image=animation, version=current_app.config.get("GN_VERSION"))) + resp.status_code = exc_type.code or 500 resp.set_cookie(err_msg[:32], animation) return resp |