From 413d0e4c35803ec2952ba4947079244ceda53772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 20 Dec 2024 16:16:42 +0100 Subject: [PATCH] Add index error on logs --- tilecloud_chain/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tilecloud_chain/server.py b/tilecloud_chain/server.py index 34307023d..021cd3d19 100644 --- a/tilecloud_chain/server.py +++ b/tilecloud_chain/server.py @@ -186,6 +186,7 @@ def get_s3_client(self, config: tilecloud_chain.DatedConfig) -> "botocore.client self.s3_client_cache[cache_s3.get("host", "aws")] = client return client except KeyError as e: + _LOGGER.warning("Error while getting the S3 client: %s", e, exc_info=True) error = e time.sleep(n * 10) raise error