reduce debug output

This commit is contained in:
j 2015-11-26 12:42:52 +01:00
parent 553ee380fe
commit a0d0d6fd9e

View file

@ -220,7 +220,7 @@ class Node(Thread):
logger.debug('can connect to: %s (%s)', url, self.user.nickname) logger.debug('can connect to: %s (%s)', url, self.user.nickname)
return True return True
except: except:
logger.debug('can not connect to: %s (%s)', url, self.user.nickname, exc_info=1) logger.debug('can not connect to: %s (%s)', url, self.user.nickname)
pass pass
return False return False
@ -246,7 +246,7 @@ class Node(Thread):
if self.online: if self.online:
self.pullChanges() self.pullChanges()
except: except:
logger.debug('failed to connect to %s', self.user_id, exc_info=1) logger.debug('failed to connect to %s', self.user_id)
self.online = False self.online = False
else: else:
self.online = False self.online = False