Skip to content

Commit

Permalink
Add .catch to app.ts promise
Browse files Browse the repository at this point in the history
  • Loading branch information
carloslbello committed Jun 17, 2022
1 parent 744ac00 commit 22cd056
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,6 @@ void (async () => {
const httpManager = new HttpManager(options);
await httpManager.start();
}
})();
})().catch((err: Error) => {
throw err;
});

0 comments on commit 22cd056

Please sign in to comment.