MCPcopy Create free account
hub / github.com/BingyanStudio/github-analyzer / error

Function error

api/src/index.ts:43–51  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

41 "/api/presets": getPresets,
42 },
43 error(error) {
44 console.error(error);
45 return new Response(`Internal Error: ${error.message}`, {
46 status: 500,
47 headers: {
48 "Content-Type": "text/plain",
49 },
50 });
51 },
52});
53
54console.log(`Server running on http://localhost:${PORT}`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected