summaryrefslogtreecommitdiffstats
path: root/git-hooks/qdoc-bot
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2013-02-12 17:11:08 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-02-13 13:18:27 +0100
commit6fe754f2992e312f1eaab81d268db03266ea66b9 (patch)
tree72f66593b9c38d1ef2e9858a521156af6ed333fe /git-hooks/qdoc-bot
parentbacccd11a7ae12ffb683e4ede4bde3768cc7d1e4 (diff)
Fix exception logging.
Change-Id: Id413cc1ce60e4421cecec612942243ede5280a91 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'git-hooks/qdoc-bot')
-rwxr-xr-xgit-hooks/qdoc-bot2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/qdoc-bot b/git-hooks/qdoc-bot
index a540c0b..23cd83c 100755
--- a/git-hooks/qdoc-bot
+++ b/git-hooks/qdoc-bot
@@ -284,7 +284,7 @@ def process_event(event_string):
try:
output_with_patch = run_qdoc(module_name)
except subprocess.CalledProcessError, e:
- logging.debug("RUNNING QDOC FAILED", e)
+ logging.debug("RUNNING QDOC FAILED: %s", e)
msg = "Running command\n " + str(e.cmd) + "\nfailed."
post_review(event, msg, -1)
return -1