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

Function reportError

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

Source from the content-addressed store, hash-verified

1413 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1414
1415 const reportError = (context: string, cause: unknown) => {
1416 const error = toError(cause);
1417 if (closing && isAbortDuringClose(error)) return;
1418 console.error(`Executor MCP bridge ${context}: ${error.message}`);
1419 };
1420
1421 const forwardMessage =
1422 (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