diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -107,3 +107,4 @@ let port = process.env.PORT || 3119; app.listen({ host, port }); process.on("unhandledRejection", () => err("Unhandled error")); +process.on("uncaughtException", (e) => err(e.message)); |
