I'm using pm2 as a process manager starting the app with this config file. So after it having been up all night my m8 woke up this morning finding the app had crashed and there's nothing in the logs except him restarting after the crash.I suppose I should add thisprocess.on('uncaughtException', err => console.error(err) ); as well but I'm not sure it would do much when the app doesn't even add anything to the error log, which thrown exceptions usually do.So now I'm stuck not sure how to reproduce it or anything :v
Submitted January 02, 2019 at 03:09PM by inabahare
No comments:
Post a Comment