Programming Languages
Bug Report
Node.js worker crashed on an unhandled promise rejection: one fire-and-forget call took it down
A Node.js queue worker restarted a few times a day, dropping in-flight jobs. An analytics call was started without await or catch; when the analytics service failed, the rejection was unhandled and Node.js terminated the process, as it does by default since version 15. How we fixed it.