mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Adding debug message when type != 'printer'
Just for the case we lose a device at this point.
This commit is contained in:
parent
bf670d325a
commit
a52c62f6bb
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin):
|
|||
if info.properties.get(b"type", None) == b'printer':
|
||||
address = '.'.join(map(lambda n: str(n), info.address))
|
||||
self.addPrinterSignal.emit(str(name), address, info.properties)
|
||||
else:
|
||||
Logger.log("w", "The type of the found device is '%s', not 'printer'! Ignoring.." % name)
|
||||
else:
|
||||
Logger.log("w", "Could not get information about %s" % name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue