Closed virtser closed 7 years ago
Move catch all uncaught exceptions to dorbel-shared and write to log. Use https://github.com/node-microservice/koa-terminator
This code exists in all APIs/Serices:
process.on('uncaughtException', function(err) { logger.error(err); process.exit(1); });
Move catch all uncaught exceptions to dorbel-shared and write to log. Use https://github.com/node-microservice/koa-terminator
This code exists in all APIs/Serices: