Skip to content

Commit 24bff02

Browse files
committed
add debug logger
1 parent b305410 commit 24bff02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/integrations/mcp-server/validation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import { DEBUG_BUILD } from '../../debug-build';
6-
import { logger } from '../../utils/logger';
6+
import { debug } from '../../utils/logger';
77
import type { JsonRpcNotification, JsonRpcRequest } from './types';
88

99
/** Validates if a message is a JSON-RPC request */
@@ -56,6 +56,6 @@ export function validateMcpServerInstance(instance: unknown): boolean {
5656
) {
5757
return true;
5858
}
59-
DEBUG_BUILD && logger.warn('Did not patch MCP server. Interface is incompatible.');
59+
DEBUG_BUILD && debug.warn('Did not patch MCP server. Interface is incompatible.');
6060
return false;
6161
}

0 commit comments

Comments
 (0)