Skip to content

Commit 017cab3

Browse files
committed
Don't crash the app if db not found
1 parent 4f4bd59 commit 017cab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const connectToDatabase = async (attempt = 0) => {
4040
error: err.stack,
4141
})
4242

43-
return process.exit(1)
43+
return
4444
}
4545
logger.info(
4646
`Connection to database failed! Attempt ${attempt} of ${DB_CONNECTION_RETRY_LIMIT}`,

0 commit comments

Comments
 (0)