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

Function error

apps/local/src/serve.ts:517–520  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

515 return withCors(await serveIndex());
516 },
517 error(error) {
518 console.error("Server error:", error);
519 return new Response("Internal Server Error", { status: 500 });
520 },
521 });
522
523 let stopped = false;

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected