diff options
author | Jaime van Kessel <nallath@gmail.com> | 2021-07-23 11:40:30 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2021-07-23 11:40:30 +0300 |
commit | b7ee3298c2cb281dc4ca9d4880f220d764638f15 (patch) | |
tree | cd69513928158dba9ed4957a257d66e7b7e5fb07 /cura/API | |
parent | fc10c1090603f062ebd8b01498890d43809ef52b (diff) |
Add extra logging to auth server
Diffstat (limited to 'cura/API')
-rw-r--r-- | cura/API/Account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/API/Account.py b/cura/API/Account.py index 728d0690a3..2e48a040ad 100644 --- a/cura/API/Account.py +++ b/cura/API/Account.py @@ -109,7 +109,6 @@ class Account(QObject): self._authorization_service.accessTokenChanged.connect(self._onAccessTokenChanged) self._authorization_service.loadAuthDataFromPreferences() - @pyqtProperty(int, notify=syncStateChanged) def syncState(self): return self._sync_state @@ -178,6 +177,7 @@ class Account(QObject): if error_message: if self._error_message: self._error_message.hide() + Logger.log("w", "Failed to login: %s", error_message) self._error_message = Message(error_message, title = i18n_catalog.i18nc("@info:title", "Login failed")) self._error_message.show() self._logged_in = False |