diff --git a/server/index.ts b/server/index.ts index 026b23bbd..4c9b0cd91 100644 --- a/server/index.ts +++ b/server/index.ts @@ -28,7 +28,8 @@ const getListeningAddresses = () => { bootstrapServer(env).then(({ httpServer }) => { httpServer.on('error', (err) => { - console.error('Server startup error:', err); + console.error('Server startup error:', err.message); + process.exitCode = 1; process.exitCode = 1; process.exitCode = 1; process.exit(1);