chore(mcp): ignore error

This commit is contained in:
ryoppippi
2025-07-11 17:10:25 -07:00
parent 177bfc31d0
commit cd025d91ca

View File

@@ -66,6 +66,7 @@ function getOrCreateInspector(urlString: string): WebSocketInspector {
callFramesMap.set(urlString, [...existing, ...params.callFrames]);
});
// @ts-expect-error - This is a custom event handler
inspector.on("Runtime.consoleAPICalled", params => {
const existing = consoleMessagesMap.get(urlString) ?? [];
const messages = params.args.map(arg => remoteObjectToString(arg, true)).join(" ");