Skip to content
Snippets Groups Projects
Commit d82c5f7b authored by Daniel Wagner-Hall's avatar Daniel Wagner-Hall
Browse files

Use more descriptive error code

parent 0c38e863
No related branches found
No related tags found
No related merge requests found
......@@ -66,4 +66,4 @@ def check_key_valid(http_client, event):
if not response["valid"]:
raise AuthError(403, "Third party certificate was invalid")
except IOError:
raise AuthError(403, "Third party certificate could not be checked")
raise AuthError(502, "Third party certificate could not be checked")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment