diff --git a/tests/db-utils.ts b/tests/db-utils.ts index fbeef4ef..bb7818f9 100644 --- a/tests/db-utils.ts +++ b/tests/db-utils.ts @@ -147,8 +147,7 @@ export async function cleanupDb(prisma: PrismaClient) { try { await prisma.$executeRawUnsafe(`${statement};`) } catch (error) { - console.warn(`Failed to execute statement: ${statement}`) - throw error + console.error(`Failed to execute statement: ${statement}`, error) } } }