Browse Source

Log warning instead of exception if no connection

Contributes to CL-1245
Ian Paschal 6 years ago
parent
commit
a11878b199
1 changed files with 1 additions and 1 deletions
  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)