From 22cd056d82aba252227325f6caacf733807df49a Mon Sep 17 00:00:00 2001 From: Carlos Liam Date: Fri, 17 Jun 2022 14:23:31 -0400 Subject: [PATCH] Add .catch to app.ts promise --- src/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 287f69a64..fe469b84a 100644 --- a/src/app.ts +++ b/src/app.ts @@ -149,4 +149,6 @@ void (async () => { const httpManager = new HttpManager(options); await httpManager.start(); } -})(); +})().catch((err: Error) => { + throw err; +});