inux ubuntu

pull/88/head
xiaojunnuo 2021-08-13 15:12:01 +08:00
parent f5a4af9a87
commit 967769ea05
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ function registerProcessListener () {
log.info('Unhandled Rejection at: Promise', p, 'err:', err)
// application specific logging, throwing an error, or other logic here
})
process.on('exit', function (code) {
log.info('代理服务进程被关闭:', code)
})
}
const api = {