From 2d164296db7ae2b20679e5ece06bee0d23bc4a6c Mon Sep 17 00:00:00 2001 From: zkldi Date: Sun, 7 Nov 2021 01:26:33 +0000 Subject: [PATCH] Log error on internet check --- server/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main.ts b/server/src/main.ts index adf4e087b..1bdb12d89 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -36,7 +36,8 @@ async function RunOnInit() { await fetch("https://example.com"); } catch (err) { logger.crit( - `Cannot send HTTPS request to https://example.com. This instance of tachi-server cannot access the internet?` + `Cannot send HTTPS request to https://example.com. This instance of tachi-server cannot access the internet?`, + err ); // process.exit(1); }