Skip to content

Commit 08ff8ad

Browse files
committed
Add logging
1 parent 3d8e24b commit 08ff8ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flask_oauthlib/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ def handle_oauth2_response(self):
654654
self.access_token_method
655655
)
656656

657+
log.info('Resp: {}'.format(resp))
658+
657659
data = parse_response(resp, content, content_type=self.content_type)
658660
if resp.code not in (200, 201):
659661
raise OAuthException(

0 commit comments

Comments
 (0)