Added extra logging when authentication gets removed for network printer

This commit is contained in:
Jaime van Kessel 2017-03-17 10:22:41 +01:00
parent f736e74f77
commit 296152ed33

View File

@ -101,6 +101,7 @@ class DiscoverUM3Action(MachineAction):
if "um_network_key" in meta_data:
global_container_stack.setMetaDataEntry("um_network_key", key)
# Delete old authentication data.
Logger.log("d", "Removing old authentication id %s for device %s", global_container_stack.getMetaDataEntry("network_authentication_id", None), key)
global_container_stack.removeMetaDataEntry("network_authentication_id")
global_container_stack.removeMetaDataEntry("network_authentication_key")
else: