diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-04 17:18:59 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-04 17:18:59 +0300 |
commit | 7165e1eba548cce55314e86f147192239e522e28 (patch) | |
tree | 6f3abf938a7df661584109c036e423b328b3556c | |
parent | 8013c283f157a1f6e59a5d14fdaa036acd561a97 (diff) | |
download | wmf-ci-arch-7165e1eba548cce55314e86f147192239e522e28.tar.gz |
Add: log token, for debugging
-rwxr-xr-x | api.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |