Log protocol exceptions

This commit is contained in:
Tarjei Husøy 2018-04-21 12:26:28 -07:00
parent 3cab847c8f
commit 4770807c04

View file

@ -214,6 +214,8 @@ class ClientConnection(threading.Thread):
else:
_logger.info('Got TLS error when establishing connection: %s', exc.strerror)
raise
except Exception as exc:
_logger.exception('Got exception during protocol handling: %s' % exc)
finally:
self.terminate()