nexus/server/src/middleware
Dotta 1420b86aa7 fix(server): attach raw Error to res.err and avoid pino err key collision
Extract attachErrorContext helper to DRY up the error handler, attach the
original Error object to res.err so pino can serialize stack traces, and
rename the log context key from err to errorContext so it doesn't clash
with pino's built-in err serializer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:19:03 -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(server): attach raw Error to res.err and avoid pino err key collision 2026-03-07 15:19:03 -06:00
index.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00
logger.ts fix(server): attach raw Error to res.err and avoid pino err key collision 2026-03-07 15:19:03 -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