mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-20 05:21:44 +10:00
Node 24 terminates the whole process on an unhandled promise rejection, so a single request's stray rejection could take the server down for every user (as the USER_STOPPED agent-abort bug did). Add a process-level unhandledRejection handler that logs and keeps serving. Uncaught exceptions are intentionally left on Node's default crash-and-restart, since process state is unsafe afterward. Claude-Session: https://claude.ai/code/session_01ULhhLQ24DvnYwzP4afDuye