Nodejs / Javascript on input CTRL+C console.log

后端 未结 0 1710
庸人自扰
庸人自扰 2021-01-06 19:29

I currently use this script to restart my script.

catch(err){
    console.log(err)
    webhook.send(`Error monitoring **www.-.com**, restarting monitor.`)
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题