Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Prisma errors not showing when a Prisma migration errors internally #9273

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Aug 9, 2024

When testing as part of #9264, an error was found where the Prisma child process hadn't been populated for new Migrate.
This appears to be a result of us not waiting for migrate.engine.initPromise.

This pull request resolves that by waiting for initPromise, and thus show any errors that may have happened internally to Prisma.

@dcousens dcousens self-assigned this Aug 9, 2024
@dcousens dcousens added the 🐛 bug Unresolved bug label Aug 9, 2024
@dcousens dcousens force-pushed the fix-prisma-migrate branch from 5bd6b44 to 88ed9f3 Compare August 9, 2024 01:37
@keystonejs keystonejs deleted a comment from codesandbox-ci bot Aug 9, 2024
@dcousens dcousens force-pushed the fix-prisma-migrate branch from 88ed9f3 to 9ad529c Compare August 9, 2024 01:40
@dcousens dcousens merged commit d80748e into main Aug 9, 2024
42 of 43 checks passed
@dcousens dcousens deleted the fix-prisma-migrate branch August 9, 2024 01:51
@dcousens dcousens mentioned this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unresolved bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant