From 61604b313f569150bc55122743832108a1b6821e Mon Sep 17 00:00:00 2001 From: Jacob Magar Date: Sat, 14 Mar 2026 03:58:44 -0400 Subject: [PATCH] fix(elicitation): pass CredentialsNotConfiguredError through tool_error_handler --- unraid_mcp/core/exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unraid_mcp/core/exceptions.py b/unraid_mcp/core/exceptions.py index b63460e..8a174df 100644 --- a/unraid_mcp/core/exceptions.py +++ b/unraid_mcp/core/exceptions.py @@ -54,6 +54,8 @@ def tool_error_handler( yield except ToolError: raise + except CredentialsNotConfiguredError: + raise # Let callers handle elicitation — do not wrap in ToolError except TimeoutError as e: logger.exception( f"Timeout in unraid_{tool_name} action={action}: request exceeded time limit"