From 28a208ba2c200e8b48ae920a419f09275f427d87 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Sat, 12 Feb 2022 09:16:45 -0800 Subject: [PATCH] Remove some unneeded logging on startup --- packages/api/src/server.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/api/src/server.ts b/packages/api/src/server.ts index 368171748..c2dc8c560 100755 --- a/packages/api/src/server.ts +++ b/packages/api/src/server.ts @@ -118,8 +118,10 @@ export const createApp = (): { } const main = async (): Promise => { - const entities = await initEntities() - console.log('created entitites', entities) + // If creating the DB entities fails, we want this to throw + // so the container will be restarted and not come online + // as healthy. + await initEntities() const { app, apollo, httpServer } = createApp()