From 4617aee317bccd4e83326189c31ad1598c65a9ad Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 13 Oct 2014 22:38:40 +0200 Subject: [PATCH] Log all socket errors --- qutebrowser/utils/ipc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qutebrowser/utils/ipc.py b/qutebrowser/utils/ipc.py index cbe59dea5..5472c23d6 100644 --- a/qutebrowser/utils/ipc.py +++ b/qutebrowser/utils/ipc.py @@ -65,6 +65,8 @@ class IPCServer(QObject): @pyqtSlot(int) def on_error(self, error): """Convenience method which calls _socket_error on an error.""" + log.ipc.debug("Socket error {}: {}".format( + self._socket.error(), self._socket.errorString())) if error != QLocalSocket.PeerClosedError: _socket_error("handling IPC connection", self._socket)