Просмотр исходного кода

Merge pull request #5336 from Ultimaker/CL-1245_change_exception_logging_when_no_connection

CL-1245 Change exception logging when no connection
Simon Edwards 6 лет назад
Родитель
Сommit
163a231365
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      cura/OAuth2/AuthorizationHelpers.py

+ 1 - 1
cura/OAuth2/AuthorizationHelpers.py

@@ -92,7 +92,7 @@ class AuthorizationHelpers:
             })
         except requests.exceptions.ConnectionError:
             # Connection was suddenly dropped. Nothing we can do about that.
-            Logger.logException("e", "Something failed while attempting to parse the JWT token")
+            Logger.log("w", "Something failed while attempting to parse the JWT token")
             return None
         if token_request.status_code not in (200, 201):
             Logger.log("w", "Could not retrieve token data from auth server: %s", token_request.text)