cc: add useful debug logging that explains errors in HTTPFinger

This commit is contained in:
Mike Salvatore 2021-03-05 10:05:50 -05:00
parent 90310a46dc
commit 43c5834d51
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ class HTTPFinger(HostFinger):
LOG.info("Port %d is open on host %s " % (port[0], host))
break # https will be the same on the same port
except Timeout:
pass
LOG.debug(f"Timout while requesting headers from {url}")
except ConnectionError: # Someone doesn't like us
pass
LOG.debug(f"ConnetionError while requesting headers from {url}")
return True