Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

robsdedude
Copy link
Member

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.

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.
@robsdedude robsdedude changed the title Fix: use cached port for logging [4.4] Fix: use cached port for logging Apr 19, 2024
Copy link
Contributor

@StephenCathcart StephenCathcart left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@robsdedude robsdedude merged commit 85404f3 into neo4j:4.4 Apr 19, 2024
12 checks passed
@robsdedude robsdedude deleted the fix/logs-use-cached-port branch April 19, 2024 09:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants