Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion probe_scraper/probe_expiry_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def check_bugzilla_user_exists(email: str, api_key: str):
user_response.raise_for_status()
except requests.exceptions.HTTPError as e:
# 400 is raised if user does not exist
if e.response.status_code == 400 and e.response.json()["code"] == 51:
if e.response.status_code in (400, 404) and e.response.json()["code"] == 51:
return False
raise
# As of Sept 2020, api seems to be returning 200 response with an unknown
Expand Down