fixing issue where set_domains() is still called when get_all_zones() throws an exception

This commit is contained in:
csine-nflx 2020-01-29 11:26:53 -08:00
parent 9576fa4b0f
commit b885244aa7
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ def get_all_zones():
print("[+] Error with DNS Provider {}: {}".format(dns_provider.name, e))
log_data["message"] = f"get all zones failed for {dns_provider} {e}."
sentry.captureException(extra=log_data)
set_domains(dns_provider, [])
status = SUCCESS_METRIC_STATUS