Log protocol exceptions
This commit is contained in:
parent
3cab847c8f
commit
4770807c04
1 changed files with 2 additions and 0 deletions
|
|
@ -214,6 +214,8 @@ class ClientConnection(threading.Thread):
|
||||||
else:
|
else:
|
||||||
_logger.info('Got TLS error when establishing connection: %s', exc.strerror)
|
_logger.info('Got TLS error when establishing connection: %s', exc.strerror)
|
||||||
raise
|
raise
|
||||||
|
except Exception as exc:
|
||||||
|
_logger.exception('Got exception during protocol handling: %s' % exc)
|
||||||
finally:
|
finally:
|
||||||
self.terminate()
|
self.terminate()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue