mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 21:01:06 -05:00
Add comment
This commit is contained in:
@@ -220,6 +220,7 @@ export class McpHub {
|
|||||||
console.error(`Server "${name}" stderr:`, errorOutput)
|
console.error(`Server "${name}" stderr:`, errorOutput)
|
||||||
const connection = this.connections.find((conn) => conn.server.name === name)
|
const connection = this.connections.find((conn) => conn.server.name === name)
|
||||||
if (connection) {
|
if (connection) {
|
||||||
|
// NOTE: we do not set server status to "disconnected" because stderr logs do not necessarily mean the server crashed or disconnected, it could just be informational. In fact when the server first starts up, it immediately logs "<name> server running on stdio" to stderr.
|
||||||
this.appendErrorMessage(connection, errorOutput)
|
this.appendErrorMessage(connection, errorOutput)
|
||||||
await this.notifyWebviewOfServerChanges()
|
await this.notifyWebviewOfServerChanges()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user