philippkueng / node-neo4j

Neo4j REST API wrapper for Node.js
MIT License
211 stars 44 forks source link

Added error handling to request callbacks. #63

Open elsbree opened 8 years ago

elsbree commented 8 years ago

62: I added an 'error' argument to all the callbacks for superagent requests. This prevents the node process from exiting when an error like ECONNREFUSED is encountered, which could happen in the case that a neo4j instance isn't running.