I'd like to have stack traces emailed to me as they happen (in production). On first glance this doesn't seem a nodebb specific issue...but from googling I see some folks recommending making changes to the app itself to make calls to the forever module....(with others urging caution that it's not reliable).
What do you recommend for doing this? Anyone already setup getting stack traces emailed from production?
P.S in my current setup, nodebb is started through a systemd unit that calls forever to execute the nodebb app (yes a bit of duplication) - I'm open to changing that if needed.