aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-04-27 15:03:44 -0700
committerAdam Soltys <[email protected]>2021-04-27 15:03:44 -0700
commit3c0e24599686733e85079241e9f38017f8027362 (patch)
tree74608e0644ef674bb47942c52ba7b767f61e9330 /index.js
parentbfda62dabe0b6b7c8ac56bcc1c66074cee8b65a0 (diff)
downloadcoinos-server-3c0e24599686733e85079241e9f38017f8027362.tar.gz
coinos-server-3c0e24599686733e85079241e9f38017f8027362.zip
fix order placement bug
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.js b/index.js
index 29321caa..ef30244d 100644
--- a/index.js
+++ b/index.js
@@ -104,3 +104,7 @@ server.listen(config.port, () =>
);
process.on("SIGINT", process.exit);
+
+process.on('uncaughtException', function (exception) {
+ console.log(exception);
+});