From cb945334360b0c6bbbb3a8c496ce7afe52728f24 Mon Sep 17 00:00:00 2001 From: Rizky Date: Thu, 25 Jan 2024 14:21:23 +0700 Subject: [PATCH] wip fix --- pkgs/utils/prisma.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/utils/prisma.ts b/pkgs/utils/prisma.ts index cab0df6..dff5d49 100644 --- a/pkgs/utils/prisma.ts +++ b/pkgs/utils/prisma.ts @@ -12,7 +12,7 @@ export const preparePrisma = async () => { const { PrismaClient } = await import("../../app/db/db"); g.db = new PrismaClient(); } catch (e) { - console.log("Prisma not initialized"); + console.log("Prisma not initialized", e); } }