Skip to content

Commit

Permalink
fix: catch more proxy errors (#22306)
Browse files Browse the repository at this point in the history
* more errors

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
daibhin and github-actions[bot] committed May 16, 2024
1 parent 0b4e000 commit bcbd915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/tasks/validate_proxy_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def validate_proxy_domains() -> None:
if response.status_code != 200:
record.status = ProxyRecord.Status.ERRORING
record.save()
except dns.resolver.NoAnswer:
except (dns.resolver.NoAnswer, dns.resolver.NXDOMAIN):
break

records = ProxyRecord.objects.filter(status=ProxyRecord.Status.ISSUING)
Expand Down

0 comments on commit bcbd915

Please sign in to comment.