[D1] π Feature Request: Intercept the dev server error "binding DB of type d1 must have a valid id
specified", make it clearer
#4590
Labels
d1
Relating to D1
enhancement
New feature or request
quick win
Potentially easy/straightforward issue to tackle
Describe the solution
If you attempt to run
wrangler dev --remote
withpreview_database_id
set to a random string that doesn't exist, you get a big scary error:The only way you'd get this error is if the database doesn't exist, so we should just tell folks to use a real database here.
Attempting to deploy a Worker with a fake ID throws the same error, so we could make that nicer too.
The text was updated successfully, but these errors were encountered: