mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: improve error message for updating tool settings
This commit is contained in:
parent
a3c39cb428
commit
880361ef94
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue