Skip to content

Commit

Permalink
chore: Change shortlink for bundler-investigation on error case (#19247)
Browse files Browse the repository at this point in the history
  • Loading branch information
janpio authored and millsp committed May 16, 2023
1 parent 2f1277e commit c4c1ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -110,7 +110,7 @@ Find out why and learn how to fix this: https://pris.ly/d/schema-not-found-nextj
} else if (config.isBundled === true) {
throw new PrismaClientInitializationError(
`Prisma Client could not find its \`schema.prisma\`. This is likely caused by a bundling step, which leads to \`schema.prisma\` not being copied near the resulting bundle. We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/bundler-investigation`,
Please help us by answering a few questions: https://pris.ly/bundler-investigation-error`,
config.clientVersion!,
)
}
Expand Down
Expand Up @@ -43,7 +43,7 @@ test('bundled prisma client will fail if generated client is gone', async () =>

await expect(somePrismaCall()).rejects.toThrowErrorMatchingInlineSnapshot(`
"Prisma Client could not find its \`schema.prisma\`. This is likely caused by a bundling step, which leads to \`schema.prisma\` not being copied near the resulting bundle. We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/bundler-investigation"
Please help us by answering a few questions: https://pris.ly/bundler-investigation-error"
`)
})

Expand Down

0 comments on commit c4c1ada

Please sign in to comment.