chore: fix logging error in mcp stdio

This commit is contained in:
Ralph Khreish
2025-10-18 16:29:30 +02:00
parent b8830d9508
commit 95d4ba9b28

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