Skip to content

Commit

Permalink
add html 424 error code to backoff retry
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonreusch committed May 16, 2023
1 parent 68b3c80 commit 57b5312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuztf/ampel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def ampel_api_skymap(
logger.debug(response)
logger.debug(response.status_code)

if response.status_code == 503:
if response.status_code in [424, 503]:
raise requests.exceptions.RequestException

try:
Expand Down

0 comments on commit 57b5312

Please sign in to comment.