From 385834457d4973e42d5c008ce6ec189d46372ebb Mon Sep 17 00:00:00 2001 From: dwmorris11 <dustin.morris@outlook.com> Date: Sat, 10 Feb 2024 17:29:04 -0800 Subject: [PATCH] added from clause to the exception statement in the __call__ method of the Zure class to make it more informative --- semantic_router/llms/zure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic_router/llms/zure.py b/semantic_router/llms/zure.py index f2dff87a..d3af1cda 100644 --- a/semantic_router/llms/zure.py +++ b/semantic_router/llms/zure.py @@ -58,4 +58,4 @@ class AzureOpenAILLM(BaseLLM): return output except Exception as e: logger.error(f"LLM error: {e}") - raise Exception(f"LLM error: {e}") + raise Exception(f"LLM error: {e}") from e -- GitLab