diff --git a/pkgs/index.ts b/pkgs/index.ts index eeac49a..f5beaa4 100644 --- a/pkgs/index.ts +++ b/pkgs/index.ts @@ -51,7 +51,11 @@ await createLogger(); await ensureNotRunning(); if (g.db) { - await g.db.$connect(); + try { + await g.db.$connect(); + } catch (e) { + console.error(e); + } } await config.init();