[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [repo-management] hooks: Some debug to determine the cause of the
From: Luca Beltrame <einar () heavensinferno ! net>
Date: 2011-10-23 20:15:10
Message-ID: 20111023201510.1EA3DA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 229b2deebbf4479b2129fb0e979b29ae1d488fdd by Luca Beltrame.
Committed on 23/10/2011 at 22:14.
Pushed by lbeltrame into branch 'master'.
Some debug to determine the cause of the issues...
M +6 -0 hooks/update_review.py
http://commits.kde.org/repo-management/229b2deebbf4479b2129fb0e979b29ae1d488fdd
diff --git a/hooks/update_review.py b/hooks/update_review.py
index 2d82d7d..0db8fb6 100755
--- a/hooks/update_review.py
+++ b/hooks/update_review.py
@@ -106,6 +106,9 @@ def close_review(review_id, commit, committer, changed_ref):
if request.status_code != requests.codes.ok:
logging.error("Communication problem with Reviewboard. "
"Please contact the KDE sysadmins.")
+ logging.info("Please report the following:")
+ logging.info("Request URL: %s" % reply_url)
+ logging.info("Status code: %s" % request.status_code)
return
try:
@@ -130,6 +133,9 @@ def close_review(review_id, commit, committer, changed_ref):
if status_request.status_code != requests.codes.ok:
logging.error("Communication problem with Reviewboard. "
"Please contact the KDE sysadmins.")
+ logging.info("Please report the following:")
+ logging.info("Request URL: %s" % submit_url)
+ logging.info("Status code: %s" % request.status_code)
return
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic