mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Add some logging to debug discovery issues
CURA-2035
This commit is contained in:
parent
70a93ac0a2
commit
a0535a7aaf
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,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", "Could not get information about %s" % name)
|
||||
|
||||
elif state_change == ServiceStateChange.Removed:
|
||||
Logger.log("d", "Bonjour service removed: %s" % name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue