From b08c4ca2bd058e6aef6c0f2b54be46cb5698b105 Mon Sep 17 00:00:00 2001 From: hoyyeva <63033505+hoyyeva@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:52:20 -0400 Subject: [PATCH] Update app/src/index.ts Co-authored-by: Jeffrey Morgan <251292+jmorganca@users.noreply.github.com> --- app/src/index.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/src/index.ts b/app/src/index.ts index f061034a..e4192a3d 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -117,13 +117,8 @@ function server() { proc.on('exit', (code, signal) => { - if (!code) { - logger.info('Server has stopped.') - setTimeout(server, 5000) - } else { - logger.error(`Server exited with code: ${code}, signal: ${signal}`) - setTimeout(server, 3000) - } + logger.error(`Server exited with code: ${code}`) + setTimeout(server, 3000) }) app.on('before-quit', () => {