mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:56:04 +08:00
Added logging
This commit is contained in:
parent
8023341090
commit
6ff130c361
@ -236,7 +236,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
|
|||||||
self.getOutputDeviceManager().removeOutputDevice(serial_port)
|
self.getOutputDeviceManager().removeOutputDevice(serial_port)
|
||||||
self.connectionStateChanged.emit()
|
self.connectionStateChanged.emit()
|
||||||
except KeyError:
|
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)
|
@pyqtProperty(QObject , notify = connectionStateChanged)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user