Skip to content

Surface DatabaseNotFound on routing message to user #519

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Mar 31, 2021

Conversation

robsdedude
Copy link
Member

Failing to get a routing table because the user requests it for a non-existent DB would cause the driver to raise a ServiceUnavailable("Routing support broken on server ..."). This is not very helpful. This PR will change it so that the original error (Neo4jError with code Neo.ClientError.Database.DatabaseNotFound) is surfaced to the user.

@robsdedude robsdedude requested a review from technige March 31, 2021 09:43
@technige technige merged commit 53cbd08 into neo4j:4.3 Mar 31, 2021
@robsdedude robsdedude deleted the raise-missing-db-on-route branch July 21, 2021 10:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants