Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
chore: improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Shesekino committed Mar 15, 2020
1 parent c443ca9 commit ab99d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
pullRequest = requests.get(pullRequestUrl)
pullRequestObject = pullRequest.json()
if 'message' in pullRequestObject and pullRequestObject['message'] == 'Not Found':
print('could not find this PR, weird stuff!', pullRequestUrl)
print('could not find this PR, probably insufficient privileges on the token!', pullRequestUrl)
sys.exit(1)

print(pullRequestObject)
Expand Down

0 comments on commit ab99d66

Please sign in to comment.