mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Added extra logging to authentication loading to indicate difference between no auth at all or (some) loaded auth
This commit is contained in:
parent
fe826d16b8
commit
e620d8fd9a
1 changed files with 6 additions and 1 deletions
|
@ -726,7 +726,12 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||||
## Check if this machine was authenticated before.
|
## Check if this machine was authenticated before.
|
||||||
self._authentication_id = Application.getInstance().getGlobalContainerStack().getMetaDataEntry("network_authentication_id", None)
|
self._authentication_id = Application.getInstance().getGlobalContainerStack().getMetaDataEntry("network_authentication_id", None)
|
||||||
self._authentication_key = Application.getInstance().getGlobalContainerStack().getMetaDataEntry("network_authentication_key", None)
|
self._authentication_key = Application.getInstance().getGlobalContainerStack().getMetaDataEntry("network_authentication_key", None)
|
||||||
Logger.log("d", "Loaded authentication id %s from the metadata entry", self._authentication_id)
|
|
||||||
|
if self._authentication_id is None and self._authentication_key is None:
|
||||||
|
Logger.log("d", "No authentication found in metadata.")
|
||||||
|
else:
|
||||||
|
Logger.log("d", "Loaded authentication id %s from the metadata entry", self._authentication_id)
|
||||||
|
|
||||||
self._update_timer.start()
|
self._update_timer.start()
|
||||||
|
|
||||||
## Stop requesting data from printer
|
## Stop requesting data from printer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue