Clarify OAuth logging message when missing access_token
This commit is contained in:
parent
ce5fafcbd8
commit
f8deb85751
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class OAuthService(object):
|
|||
|
||||
access_token = json_data.get('access_token', None)
|
||||
if access_token is None:
|
||||
logger.debug('Got successful get_access_token response %s', json_data)
|
||||
logger.debug('Got successful get_access_token response with missing token: %s', json_data)
|
||||
raise OAuthExchangeCodeException('Missing `access_token` in OAuth response')
|
||||
|
||||
return access_token
|
||||
|
|
Reference in a new issue