From 6ff130c3619078c5be9b9867cc647673e0803d6a Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 23 Mar 2017 17:57:52 +0100 Subject: [PATCH] Added logging --- plugins/USBPrinting/USBPrinterOutputDeviceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/USBPrinting/USBPrinterOutputDeviceManager.py b/plugins/USBPrinting/USBPrinterOutputDeviceManager.py index eb0193c0c0..8f7c06419b 100644 --- a/plugins/USBPrinting/USBPrinterOutputDeviceManager.py +++ b/plugins/USBPrinting/USBPrinterOutputDeviceManager.py @@ -236,7 +236,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension): self.getOutputDeviceManager().removeOutputDevice(serial_port) self.connectionStateChanged.emit() except KeyError: - pass # no output device by this device_id found in connection list. + Logger.log("w", "Connection state of %s changed, but it was not found in the list") @pyqtProperty(QObject , notify = connectionStateChanged)