aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/errors.py b/gn3/errors.py
index e9056d4..525d703 100644
--- a/gn3/errors.py
+++ b/gn3/errors.py
@@ -51,7 +51,7 @@ def url_server_error(pnf):
return jsonify(add_trace(pnf, {
"error": f"URLLib Error no: {pnf.reason.errno}",
"error_description": pnf.reason.strerror,
- }))
+ })), 500
def handle_authorisation_error(exc: AuthorisationError):