mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
Add a process-level handler for uncaughtException and unhandledRejection. It reports a fixed-cardinality verdict to first-party telemetry — whether the crash matches the known postgres null-socket write defect — and calls process.exit(1) on every path, so it does not change today's crash behavior. This adds measurement only; it does not guard against the defect. Co-authored-by: Paperclip <noreply@paperclip.ing>