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
|
yield
|
||||||
except ToolError:
|
except ToolError:
|
||||||
raise
|
raise
|
||||||
|
except CredentialsNotConfiguredError:
|
||||||
|
raise # Let callers handle elicitation — do not wrap in ToolError
|
||||||
except TimeoutError as e:
|
except TimeoutError as e:
|
||||||
logger.exception(
|
logger.exception(
|
||||||
f"Timeout in unraid_{tool_name} action={action}: request exceeded time limit"
|
f"Timeout in unraid_{tool_name} action={action}: request exceeded time limit"
|
||||||
|
|||||||
Reference in New Issue
Block a user