Skip to content

Commit

Permalink
Merge pull request #4 from rs2/master
Browse files Browse the repository at this point in the history
Fix references to GH exceptions
  • Loading branch information
webknjaz authored Feb 21, 2019
2 parents afc9a8a + 8899faf commit 12f0b53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions check_in/github_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,16 @@ def get_access_token(self, installation_id, user_id=None):
completed=True
)
elif response.status_code == 403:
raise github.GithubException.BadCredentialsException(
raise github.BadCredentialsException(
status=response.status_code,
data=response.text
)
elif response.status_code == 404:
raise github.GithubException.UnknownObjectException(
raise github.UnknownObjectException(
status=response.status_code,
data=response.text
)
raise github.GithubException.GithubException(
raise github.GithubException(
status=response.status_code,
data=response.text
)
Expand Down

0 comments on commit 12f0b53

Please sign in to comment.