Skip to content

Commit

Permalink
feat: Updated server/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 15, 2024
1 parent 1824bd2 commit cc4b028
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ const getListeningAddresses = () => {
};

bootstrapServer(env).then(({ httpServer }) => {
httpServer.on('error', (err) => {
httpServer.on('error', (err) => {
console.error('Server startup error:', err);
process.exitCode = 1;
process.exit(1);
console.error('Server startup error:', err);
process.exit(1);
});
Expand Down

0 comments on commit cc4b028

Please sign in to comment.