Skip to content

Commit

Permalink
feat: print an error here, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Moore committed Jul 14, 2023
1 parent 46fabc2 commit e0e4acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function main() {
}

// Start program
main().catch(() => process.exit(1));
main().catch((err) => (console.error(err), process.exit(1)));

// Exit tasks
['SIGINT', 'SIGTERM'].forEach((signal) => process.addListener(signal as any, () => {
Expand Down

0 comments on commit e0e4acb

Please sign in to comment.