aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/index.ts b/index.ts
index c191b069..b0b95d7c 100644
--- a/index.ts
+++ b/index.ts
@@ -30,9 +30,7 @@ try {
nwc();
check();
// startHealthCheck();
-} catch (e) {
- console.log(e);
-}
+} catch (e) {}
setTimeout(listenForLightning, 2000);
setInterval(sendHeartbeat, 2000);
@@ -202,6 +200,6 @@ const port: number = Number.parseInt(process.env["PORT"]) || 3119;
app.listen({ host, port });
-const logerr = (e: Error) => console.log(e);
+const logerr = (e: Error) => {};
process.on("unhandledRejection", logerr);
process.on("uncaughtException", logerr);