From 1578ec325936203334f04e0d90f553dcd8bf0427 Mon Sep 17 00:00:00 2001 From: pawelblaszczyk5 Date: Thu, 4 Jan 2024 22:06:15 +0100 Subject: [PATCH] Add log for debugging --- prisma/deploy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prisma/deploy.ts b/prisma/deploy.ts index 4c41a73..a6645f4 100644 --- a/prisma/deploy.ts +++ b/prisma/deploy.ts @@ -14,6 +14,8 @@ if (!DATABASE_PUBLIC_URL) { } const tryWakingUpDatabase = async () => { + console.log('Trying to wake up database via public URL'); + try { await new PrismaClient({ datasources: { db: { url: DATABASE_PUBLIC_URL } } }).$connect(); } catch (error_) {