From ab99d6686d5e8ded86b28d98c35ef9e2da1cfef9 Mon Sep 17 00:00:00 2001 From: Amir Moualem Date: Sun, 15 Mar 2020 20:22:38 +0200 Subject: [PATCH] chore: improved error message --- py/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/main.py b/py/main.py index 6f893f7..f0e92d3 100644 --- a/py/main.py +++ b/py/main.py @@ -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)