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

Unexected behavior: a_exists throws/rejects when node does not exist #254

Closed
dreusel opened this issue Dec 11, 2020 · 2 comments · Fixed by #256
Closed

Unexected behavior: a_exists throws/rejects when node does not exist #254

dreusel opened this issue Dec 11, 2020 · 2 comments · Fixed by #256

Comments

@dreusel
Copy link
Contributor

dreusel commented Dec 11, 2020

I would expect it to simply return null, since there is nothing 'exceptional' about a node not existing in such a case. Treating it this way leads to cases where lots of code will end up in catch blocks.

If this is the intended behavior then a note in the documentation might be appropriate.

@DavidVujic
Copy link
Collaborator

Thank you for reporting this!

@DavidVujic
Copy link
Collaborator

I think this behavior of the client need some investigation. Why does the client raise an exception? Maybe it is correct? The exception contain the message 101 no node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants