From 82342762049fadc812dfb89331055af219cabc76 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 8 Oct 2021 14:13:54 +0200 Subject: [PATCH] Add log entry when syncing with cloud printers Not only do I now have an interface where the user doesn't get any feedback when syncing happens, but even in the log there was nothing shown when it happens. Contributes to issue CURA-8609. --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index dfc1d3e39d..5b1844e7cb 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -157,6 +157,8 @@ class CloudOutputDeviceManager: self._syncing = False self._account.setSyncState(self.SYNC_SERVICE_NAME, SyncState.SUCCESS) + Logger.debug("Synced cloud printers with account.") + def _onGetRemoteClusterFailed(self, reply: QNetworkReply, error: QNetworkReply.NetworkError) -> None: self._syncing = False self._account.setSyncState(self.SYNC_SERVICE_NAME, SyncState.ERROR)