nexus/server/src/middleware
Dotta 2e7bf85e7a Fix 500 error logs still showing generic pino-http message
The previous fix (8151331) set res.err but pino-http wasn't picking it
up (likely Express 5 response object behavior). Switch to a custom
__errorContext property on the response that customErrorMessage and
customProps read directly, bypassing pino-http's unreliable res.err
check. Remove duplicate manual logger.error calls from the error
handler since pino-http now gets the full context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:41:06 -06:00
..
auth.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
board-mutation-guard.ts fix: remove stale port 5173 references from board mutation guard 2026-03-02 14:21:09 -06:00
error-handler.ts Fix 500 error logs still showing generic pino-http message 2026-03-06 11:41:06 -06:00
index.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00
logger.ts Fix 500 error logs still showing generic pino-http message 2026-03-06 11:41:06 -06:00
private-hostname-guard.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
validate.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00