Commit Graph
2 Commits
Author SHA1 Message Date
Dotta 98b15503e8 Expose trusted cloud import errors 2026-05-19 14:25:05 -05:00
DottaandClaude Opus 4.6 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