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 } }