mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-23 12:39:24 -07:00
fix(elicitation): pass CredentialsNotConfiguredError through tool_error_handler
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user