diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 4421011b..f0fa2750 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -286,7 +286,7 @@ def gnqna(): ).either( error_page, __success__) except Exception as error: - return flask.jsonify({"error": str(error)}) + return flask.jsonify({"error": str(error)}), 500 return render_template("gnqa.html") |