Seeding seems to swallow errors #9286
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: prisma db seed
CLI: prisma db seed
Milestone
Bug description
Seeding seems to swallow runtime errors
How to reproduce
Given the following in
prisma/seed.ts
Note that the directory doesn't exist. I have a
package.json
with:When I run
npx prisma db seed
:However when I run the command directly:
Expected behavior
I'd expect to see the error from prisma seed and for it to fail
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: