chore: fix logging error in mcp stdio (#1322)

This commit is contained in:
Ralph Khreish
2025-10-18 16:34:11 +02:00
committed by GitHub
parent ccb87a516a
commit 518d7ea8dc

View File

@@ -78,7 +78,7 @@ function log(level, ...args) {
// is responsible for directing logs correctly (e.g., to stderr)
// during tool execution without upsetting the client connection.
// Logs outside of tool execution (like startup) will go to stdout.
console.log(prefix, ...coloredArgs);
console.error(prefix, ...coloredArgs);
}
}