neo4j / neo4j-javascript-driver

Neo4j Bolt driver for JavaScript
https://neo4j.com/docs/javascript-manual/current/
Apache License 2.0
859 stars 147 forks source link

Removal of duplicate error listener on socket #1213

Closed MaxAake closed 2 months ago

MaxAake commented 2 months ago

The socket adds a listener for 'error' events twice, this results in the same error messages being handled twice, causing confusing logs and potentially unwanted behaviors.

This PR removes one of the listeners, resulting in just one listener on the socket.

MaxAake commented 2 months ago

[JS] Investigate ECONNRESET in JS