mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 04:48:15 +03:00
Log error on internet check
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user