From 92e7d1564deb25f9e58e3b268c077018c4b2c4c4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 17 Mar 2026 06:53:13 +0000 Subject: remove logs --- index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'index.ts') 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); -- cgit v1.2.3