Skip to content

Commit

Permalink
Merge pull request #2559 from rtfd/oauth-debug
Browse files Browse the repository at this point in the history
Add debugging to webhook output
  • Loading branch information
ericholscher committed Dec 20, 2016
2 parents 2a54e3a + 55912f8 commit 3148af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/oauth/services/bitbucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,6 @@ def setup_webhook(self, project):
else:
log.error('Bitbucket webhook creation failed for project: %s',
project)
log.debug('Bitbucket webhook creation failure response: %s',
dict(resp))
return (False, resp)
2 changes: 2 additions & 0 deletions readthedocs/oauth/services/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ def setup_webhook(self, project):
else:
log.error('GitHub webhook creation failed for project: %s',
project)
log.debug('GitHub webhook creation failure response: %s',
dict(resp))
return (False, resp)

@classmethod
Expand Down

0 comments on commit 3148af0

Please sign in to comment.