Skip to content

Commit 0d2947c

Browse files
committed
fix: improve error message for updating tool settings
1 parent 0f392f0 commit 0d2947c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/mcp/McpHub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ export class McpHub {
16041604
const addToolToDisabledList = !isEnabled
16051605
await this.updateServerToolList(serverName, source, toolName, "disabledTools", addToolToDisabledList)
16061606
} catch (error) {
1607-
this.showErrorMessage(`Failed to update disabledForPromptTool settings for tool ${toolName}`, error)
1607+
this.showErrorMessage(`Failed to update settings for tool ${toolName}`, error)
16081608
throw error // Re-throw to ensure the error is properly handled
16091609
}
16101610
}

0 commit comments

Comments
 (0)