mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-17 13:07:32 +02:00
Log exception for failure in peer handler (#946)
This commit is contained in:
parent
aa45261d5f
commit
313decab6a
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class PeerHandler():
|
|||
try:
|
||||
peer.handle_messages(self.squeak_controller)
|
||||
except Exception:
|
||||
logger.error("Handling messages failed.")
|
||||
logger.exception("Handling messages failed.")
|
||||
finally:
|
||||
self.connection_manager.remove_peer(peer)
|
||||
logger.debug('Stopped controller for peer address {}.'.format(address))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue