Use debug log for on_timeout message

This commit is contained in:
Florian Bruhin 2017-03-13 07:01:21 +01:00
parent ecec836111
commit 8d9030ec47

View File

@ -367,7 +367,7 @@ class IPCServer(QObject):
def on_timeout(self):
"""Cancel the current connection if it was idle for too long."""
if self._socket is None: # pragma: no cover
log.ipc.error("on_timeout got called with None socket!")
log.ipc.debug("on_timeout got called with None socket!")
return
log.ipc.error("IPC connection timed out "
"(socket 0x{:x}).".format(id(self._socket)))