Skip to content

Commit

Permalink
Better logging on OAuth2 failures
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed May 25, 2017
1 parent 25868d5 commit 91eaae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conductor/blueprints/user/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def oauth_callback(state):
except OAuthException as e:
resp = e
if isinstance(resp, OAuthException):
logging.error("OAuthException: %r", exc_info=resp)
logging.error("OAuthException: %r", resp.data, exc_info=resp)
resp = None

try:
Expand Down

0 comments on commit 91eaae8

Please sign in to comment.