Skip to content

Ability to observe socket errors on driver object #38

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

Merged
merged 1 commit into from
Mar 16, 2016

Conversation

oskarhane
Copy link
Member

To catch broken socket errors etc.

Usage:

var driver = neo4j.v1.driver("bolt://localhost:7687", bolt.auth.basic(username, password))
driver.onError = function (e){ console.log('Got it: ', e) }

@pontusmelke
Copy link
Contributor

@oskarhane needs rebase

@oskarhane oskarhane force-pushed the 1.0-bubble-socket-errors branch from 64e7325 to cf00fa9 Compare March 16, 2016 11:20
@oskarhane
Copy link
Member Author

It's now rebased @pontusmelke

pontusmelke added a commit that referenced this pull request Mar 16, 2016
Ability to observe socket errors on driver object
@pontusmelke pontusmelke merged commit c4b33ef into neo4j:1.0 Mar 16, 2016
@oskarhane oskarhane deleted the 1.0-bubble-socket-errors branch April 5, 2016 13: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.

2 participants