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.
This commit is contained in:
Ghostkeeper 2021-10-08 14:13:54 +02:00
parent 32c63c2757
commit 8234276204
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -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)