mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-11-09 15:07:56 -08:00
fix(elicitation): pass CredentialsNotConfiguredError through tool_error_handler
This commit is contained in:
1 parent
8a986a84c2
commit
61604b313f
1 file changed
+2
@@ -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