2021年3月11日星期四

How to tell to pm2 to ignore all errors in scripts locpated at node_modules and subfolders?

I am testing an APP under server enviroment:

  • Use of aaPanel or btPanel under ubuntu
  • Use of pm2 module
  • The app is running but restart on error
  • I am using custom error managment and log functions
  • I want pm2 just ignore all console.log(error) and errors ocurred in scripts located at node_modules and subfolder

Anny idea?

Thanks for your time and for any help

https://stackoverflow.com/questions/66593197/how-to-tell-to-pm2-to-ignore-all-errors-in-scripts-locpated-at-node-modules-and March 12, 2021 at 10:06AM

没有评论:

发表评论