LGTM fix - unused variable

This commit is contained in:
RGanor 2022-05-15 13:57:13 +00:00
parent b3271e84d6
commit 3d2ad1abc0

View File

@ -1194,7 +1194,7 @@ def health():
return make_response("Down", 503) return make_response("Down", 503)
try: try:
resp = domain.get_domain_info(domain_to_query.name) domain.get_domain_info(domain_to_query.name)
except Exception as e: except Exception as e:
current_app.logger.error("Health Check - Failed to query authoritative server for domain {}".format(domain_to_query.name)) current_app.logger.error("Health Check - Failed to query authoritative server for domain {}".format(domain_to_query.name))
return make_response("Down", 503) return make_response("Down", 503)