Skip to content

Commit

Permalink
fix: do not crash server on unknown exception
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Jun 5, 2022
1 parent d13de33 commit b0ef32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (IsDebug()) {
});
});
} catch (ex: unknown) {
console.info('uncaught exception');
console.error(ex);
process.exit(1);
}
})();

0 comments on commit b0ef32c

Please sign in to comment.