From a4f34b90c635feee2ab787a320f06197c1554c14 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sun, 20 Sep 2026 13:07:08 +0530 Subject: [PATCH] fix(bedrock): log the swallowed boto3 lazy-install failure instead of passing silently --- agent/bedrock_adapter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/bedrock_adapter.py b/agent/bedrock_adapter.py index c328b487f0..017af30c3a 100644 --- a/agent/bedrock_adapter.py +++ b/agent/bedrock_adapter.py @@ -31,8 +31,8 @@ try: # --------------------------------------------------------------------------- from tools.lazy_deps import ensure ensure("provider.bedrock", prompt=False) -except Exception: - pass # let downstream imports surface the real error +except Exception as exc: # downstream imports surface the real error + logger.warning("boto3 lazy install did not complete: %s", exc) _bedrock_runtime_client_cache: Dict[str, Any] = {}