MCPcopy Create free account
hub / github.com/async-labs/async / handleError

Function handleError

api/server/api/index.ts:9–13  ·  view source on GitHub ↗
(err, _, res)

Source from the content-addressed store, hash-verified

7import teamMemberApi from './team-member';
8
9function handleError(err, _, res) {
10 logger.error(err.stack);
11
12 res.json({ error: err.message || err.toString() });
13}
14
15async function verifySignature(signature) {
16 if (process.env.ENCRYPTION_KEY.length < 32) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected