We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2be4c commit c142a92Copy full SHA for c142a92
tests/db-utils.ts
@@ -147,8 +147,8 @@ export async function cleanupDb(prisma: PrismaClient) {
147
try {
148
await prisma.$executeRawUnsafe(`${statement};`)
149
} catch (error) {
150
- console.warn(`Failed to execute statement: ${statement}`, error)
151
- // Continue with the next statement
+ console.warn(`Failed to execute statement: ${statement}`)
+ throw error
152
}
153
154
0 commit comments