From 880361ef94966d9c85a20a37a8eb5757e9f513f6 Mon Sep 17 00:00:00 2001 From: Daniel Riccio Date: Mon, 16 Jun 2025 11:40:57 -0500 Subject: [PATCH] fix: improve error message for updating tool settings --- src/services/mcp/McpHub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/mcp/McpHub.ts b/src/services/mcp/McpHub.ts index d95ea241b8..64038292de 100644 --- a/src/services/mcp/McpHub.ts +++ b/src/services/mcp/McpHub.ts @@ -1588,7 +1588,7 @@ export class McpHub { const addToolToDisabledList = !isEnabled await this.updateServerToolList(serverName, source, toolName, "disabledTools", addToolToDisabledList) } catch (error) { - this.showErrorMessage(`Failed to update disabledForPromptTool settings for tool ${toolName}`, error) + this.showErrorMessage(`Failed to update settings for tool ${toolName}`, error) throw error // Re-throw to ensure the error is properly handled } }