[sysadmin-bin] Improve the exception call.
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Improve the exception call.
- Date: Fri, 26 Jul 2013 10:00:13 +0000 (UTC)
commit a301ac144c5efb68ac8607e4b2b8d6e523e67948
Author: Andrea Veri <av gnome org>
Date: Fri Jul 26 11:58:56 2013 +0200
Improve the exception call.
git/post-receive-github | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/post-receive-github b/git/post-receive-github
index cb4a56a..cb3eb0c 100755
--- a/git/post-receive-github
+++ b/git/post-receive-github
@@ -106,7 +106,7 @@ def get_repo_settings (name):
rq = requests.get(doap_url)
if rq != 200:
- raise Exception ("Could not get doap: %s", doap_url)
+ raise Exception ("Could not get doap: %s\n%d\n%s" % (doap_url, rq.status_code, rq.text))
prj = et.fromstring (rq.text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]