Skip to content

Commit e67063c

Browse files
committed
warning about unknown HTTP statuses
1 parent f8b72f6 commit e67063c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cryptojwt/key_bundle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,8 @@ def do_remote(self):
392392
pass
393393

394394
else:
395+
LOGGER.warning("HTTP status %d reading remote JWKS from %s",
396+
_http_resp.status_code, self.source)
395397
raise UpdateFailed(
396398
REMOTE_FAILED.format(self.source, _http_resp.status_code))
397399
self.last_updated = time.time()

0 commit comments

Comments
 (0)