Skip to content

Commit c142a92

Browse files
authored
Update tests/db-utils.ts
1 parent 8d2be4c commit c142a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/db-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ export async function cleanupDb(prisma: PrismaClient) {
147147
try {
148148
await prisma.$executeRawUnsafe(`${statement};`)
149149
} catch (error) {
150-
console.warn(`Failed to execute statement: ${statement}`, error)
151-
// Continue with the next statement
150+
console.warn(`Failed to execute statement: ${statement}`)
151+
throw error
152152
}
153153
}
154154
}

0 commit comments

Comments
 (0)