Merge branch '4.0'

This commit is contained in:
Ghostkeeper 2019-02-08 11:28:06 +01:00
commit 473633de2c
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
4 changed files with 11 additions and 5 deletions

View file

@ -87,7 +87,7 @@ class AuthorizationHelpers:
token_request = requests.get("{}/check-token".format(self._settings.OAUTH_SERVER_URL), headers = {
"Authorization": "Bearer {}".format(access_token)
})
except ConnectionError:
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")
return None