MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / reportError

Function reportError

apps/cli/src/main.ts:1404–1408  ·  view source on GitHub ↗
(context: string, cause: unknown)

Source from the content-addressed store, hash-verified

1402 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1403
1404 const reportError = (context: string, cause: unknown) => {
1405 const error = toError(cause);
1406 if (closing && isAbortDuringClose(error)) return;
1407 console.error(`Executor MCP bridge ${context}: ${error.message}`);
1408 };
1409
1410 const forwardMessage =
1411 (send: (message: JSONRPCMessage) => Promise<void>, context: string) =>

Callers 2

forwardMessageFunction · 0.85
runMcpHttpBridgeFunction · 0.85

Calls 3

isAbortDuringCloseFunction · 0.85
errorMethod · 0.80
toErrorFunction · 0.70

Tested by

no test coverage detected