diff options
| author | Adam Soltys <[email protected]> | 2023-12-20 22:17:58 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-20 22:18:03 +0000 |
| commit | 47d94c90b360a6025df0c348a465b98e7b401541 (patch) | |
| tree | ddca916910fd14b0827a89cc2e81cac31c0e58e2 /index.js | |
| parent | 48fd5545bfa4417e09923e2437316466608a4c24 (diff) | |
| download | coinos-server-47d94c90b360a6025df0c348a465b98e7b401541.tar.gz coinos-server-47d94c90b360a6025df0c348a465b98e7b401541.zip | |
logging
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -111,3 +111,4 @@ let port = process.env.PORT || 3119; app.listen({ host, port }); process.on("unhandledRejection", () => err("Unhandled error")); +process.on("uncaughtException", (e) => err(e.message)); |
