diff options
| author | Adam Soltys <[email protected]> | 2021-06-01 23:26:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:07:17 -0700 |
| commit | 2873f6901eaed83824aa0bb4c33c77268bb941b3 (patch) | |
| tree | 94429d044ce44360bba5680e52358e7fc8b931fd /index.js | |
| parent | 386a3e099a1d8169a722549e1db0b71054ea06e8 (diff) | |
| download | coinos-server-2873f6901eaed83824aa0bb4c33c77268bb941b3.tar.gz coinos-server-2873f6901eaed83824aa0bb4c33c77268bb941b3.zip | |
remove pino from start command
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -111,3 +111,9 @@ app.use((err, req, res, next) => { server.listen(config.port, () => console.log(`CoinOS Server listening on port ${config.port}`) ); + +process.on("SIGINT", process.exit); + +process.on('uncaughtException', function (exception) { + console.log(exception); +}); |
