Skip to content

Conversation

@bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Oct 7, 2021

Javascript only checks for the error code and the message.

Javascript only checks for the error code
Copy link
Contributor

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

But why is there no exception you want/can check for?

@bigmontz
Copy link
Contributor Author

bigmontz commented Oct 7, 2021

But why is there no exception you want/can check for?

It's a simple JS error with the code and the message. I can send the prototype if it needed.

@bigmontz
Copy link
Contributor Author

bigmontz commented Oct 7, 2021

Update tests to also check the exception message like go does.

Copy link
Contributor

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

♟️

@bigmontz bigmontz merged commit 81bce6f into neo4j-drivers:4.4 Oct 7, 2021
@bigmontz bigmontz deleted the 4.4-js-enable-token-exception-verification branch October 7, 2021 15:26
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.

2 participants