Browse Source

inux ubuntu

pull/88/head
xiaojunnuo 3 years ago
parent
commit
967769ea05
  1. 4
      packages/mitmproxy/src/index.js

4
packages/mitmproxy/src/index.js

@ -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 = {

Loading…
Cancel
Save