Log error on internet check

This commit is contained in:
zkldi
2021-11-07 01:26:33 +00:00
parent f91ad51aef
commit 2d164296db
+2 -1
View File
@@ -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);
}