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

Function reportError

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

Source from the content-addressed store, hash-verified

1379 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1380
1381 const reportError = (context: string, cause: unknown) => {
1382 const error = toError(cause);
1383 if (closing && isAbortDuringClose(error)) return;
1384 console.error(`Executor MCP bridge ${context}: ${error.message}`);
1385 };
1386
1387 const forwardMessage =
1388 (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