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

Add "branch" to database does not exist error message #7022

Merged
merged 1 commit into from Mar 8, 2024

Conversation

msullivan
Copy link
Member

No description provided.

@@ -1303,7 +1303,7 @@ cdef class DatabaseIndex:
return self._dbs[dbname]
except KeyError:
raise errors.UnknownDatabaseError(
f'database {dbname!r} does not exist')
f'database branch {dbname!r} does not exist')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping database here seems debatable, but I don't have a strong argument in favor of either direction, so lgtm!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've done similar in a lot of places in the server

@msullivan msullivan merged commit 4bcdd8c into master Mar 8, 2024
23 checks passed
@msullivan msullivan deleted the branch-not-exist branch March 8, 2024 23:35
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.

None yet

2 participants