diff --git a/src/db/connection.js b/src/db/connection.js index 81d7581..6ec30f4 100644 --- a/src/db/connection.js +++ b/src/db/connection.js @@ -40,7 +40,7 @@ const connectToDatabase = async (attempt = 0) => { error: err.stack, }) - return process.exit(1) + return } logger.info( `Connection to database failed! Attempt ${attempt} of ${DB_CONNECTION_RETRY_LIMIT}`,