Entered unreachable code
using an illegal connection string
#23906
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: connection-url
topic: entered unreachable code
topic: prisma db pull
CLI: prisma db pull
topic: rust panic
Bug description
Hi!
I am submitting this since the package asked yes/no if I wanted to report the bug, and since the error message was the unreachable code was reached I figured this may be interesting for you to know.
This submission is just to help you, and thanks for prisma, it's really great! I believe the problem is in my connection string so from my part this doesn't need any fixing if you don't want to fix it due to it giving that error.
I used this in my .env file:
And on running prisma db pull:
How to reproduce
Set the .env file to match my DATABASE_URL setup, then try and connect with a normal empty connection to pull the existing database with prisma db pull.
Expected behavior
I would have expected an error message that my connection string was incorrect. If you compare how the documentation example is, then this matches the string I tried, but since it doesn't connect I can be sure the problem lies in my code.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: