log url timeouts
This commit is contained in:
parent
6126b5dfa2
commit
33e672c32b
2 changed files with 5 additions and 1 deletions
|
@ -142,6 +142,10 @@ class Node(Thread):
|
|||
logger.debug('urllib2.URLError %s', e)
|
||||
self.online = False
|
||||
return None
|
||||
except socket.timeout:
|
||||
logger.debug('timeout %s', url)
|
||||
self.online = False
|
||||
return None
|
||||
except:
|
||||
logger.debug('unknown url error', exc_info=True)
|
||||
self.online = False
|
||||
|
|
Loading…
Reference in a new issue