From 76000f8fa11dde2f67efdb22a87c4644ea49f9eb Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 30 Jan 2021 19:58:15 +0100 Subject: :sparkles: Util --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index f5000a61..9299221c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,7 @@ +process.on("uncaughtException", console.error); +process.on("unhandledRejection", console.error); +setTimeout(() => {}, 100000000); + import { DiscordServer } from "./Server"; const server = new DiscordServer({ port: 3000 }); -- cgit 1.5.1