summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 18:54:51 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 18:54:51 +0300
commitc6b840f936bbd3c6bce4b8a9f2921c2c18e2e2ec (patch)
treeaa7f096c50db3b85b01cd0a2bf0b54427e9e6882
parentea36714a3863ebca159bd68b1ef428be3c76dd37 (diff)
downloadwmf-ci-arch-c6b840f936bbd3c6bce4b8a9f2921c2c18e2e2ec.tar.gz
Add: debug logging
-rwxr-xr-xapi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api.py b/api.py
index 401ea6f..6fdf446 100755
--- a/api.py
+++ b/api.py
@@ -458,6 +458,7 @@ class Controller(API):
def _webhook(self):
r = bottle.request
+ logging.debug('_webhook called: headers: %r', dict(r.headers))
obj = r.body.json
logging.debug(
'_webhook called: project_name=%s job_id=%s job_status=%s',