Clarify OAuth logging message when missing access_token

This commit is contained in:
Joseph Schorr 2017-01-26 12:01:55 -05:00
parent ce5fafcbd8
commit f8deb85751

View file

@ -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