neo4j / neo4j-python-driver

Neo4j Bolt driver for Python
https://neo4j.com/docs/api/python-driver/current/
Other
883 stars 187 forks source link

[4.4] Fix: use cached port for logging #1045

Closed robsdedude closed 3 months ago

robsdedude commented 3 months ago

Especially in the error handler, it's worth using the cached port as the underlying socket might already have been close which can lead to errors masking the actual exception that should be surfaced to the user instead.