From 7d2cddd6febc789294a2f04fea510a676e5a8e82 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Mon, 27 Jan 2025 16:59:38 +0000 Subject: [PATCH] Dump out Bedrock exception type --- .../trustgraph/model/text_completion/bedrock/llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py b/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py index a9c05cc8..3b2aced5 100755 --- a/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py +++ b/trustgraph-bedrock/trustgraph/model/text_completion/bedrock/llm.py @@ -267,6 +267,7 @@ class Processor(ConsumerProducer): except Exception as e: + print(type(e)) print(f"Exception: {e}") print("Send error response...", flush=True)