summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:18:59 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:18:59 +0300
commit7165e1eba548cce55314e86f147192239e522e28 (patch)
tree6f3abf938a7df661584109c036e423b328b3556c
parent8013c283f157a1f6e59a5d14fdaa036acd561a97 (diff)
downloadwmf-ci-arch-7165e1eba548cce55314e86f147192239e522e28.tar.gz
Add: log token, for debugging
-rwxr-xr-xapi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.py b/api.py
index 1415be9..173c053 100755
--- a/api.py
+++ b/api.py
@@ -108,7 +108,8 @@ class AccessChecker:
logging.error('Authorization header does not contain a Bearer token')
return None
- logging.debug('Got an access token from Authorization header')
+ logging.debug(
+ 'Got an access token from Authorization header: %s', token_text)
return token_text