Skip to content

Fix error message when branching from branch that doesn't exist#1024

Merged
jgreet merged 1 commit intomainfrom
jgreet/branch-not-found
Apr 9, 2025
Merged

Fix error message when branching from branch that doesn't exist#1024
jgreet merged 1 commit intomainfrom
jgreet/branch-not-found

Conversation

@jgreet
Copy link
Member

@jgreet jgreet commented Apr 9, 2025

The not_found response doesn't specify if it was the database or branch that wasn't found so we shouldn't assume it was the database in the user facing error message.

Fixes #954, planetscale/discussion#655

@jgreet jgreet requested a review from a team as a code owner April 9, 2025 20:17
@jgreet jgreet merged commit e1470f9 into main Apr 9, 2025
1 check passed
@jgreet jgreet deleted the jgreet/branch-not-found branch April 9, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing error messaging for pscale branch create

3 participants