forked from p15670423/monkey
cc: add useful debug logging that explains errors in HTTPFinger
This commit is contained in:
parent
90310a46dc
commit
43c5834d51
|
@ -43,8 +43,8 @@ class HTTPFinger(HostFinger):
|
||||||
LOG.info("Port %d is open on host %s " % (port[0], host))
|
LOG.info("Port %d is open on host %s " % (port[0], host))
|
||||||
break # https will be the same on the same port
|
break # https will be the same on the same port
|
||||||
except Timeout:
|
except Timeout:
|
||||||
pass
|
LOG.debug(f"Timout while requesting headers from {url}")
|
||||||
except ConnectionError: # Someone doesn't like us
|
except ConnectionError: # Someone doesn't like us
|
||||||
pass
|
LOG.debug(f"ConnetionError while requesting headers from {url}")
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue