Skip to content

fix: gracefully handle when handling an error and socket is null - #57

Merged
wesleytodd merged 1 commit into
masterfrom
no-socket
Sep 2, 2024
Merged

fix: gracefully handle when handling an error and socket is null#57
wesleytodd merged 1 commit into
masterfrom
no-socket

Conversation

@wesleytodd

Copy link
Copy Markdown
Member

req.socket can be set to null in some circumstances (see #42). This adds a check for this case which only occurs when an error is raised and the socket is already nulled out.

@wesleytoddwesleytodd mentioned this pull request Sep 1, 2024
@wesleytodd
wesleytoddforce-pushed the no-socket branch 2 times, most recently from c6b9d3d to 30a8271CompareSeptember 1, 2024 14:33

@mcollinamcollina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@wesleytodd
wesleytodd merged commit bc2c767 into masterSep 2, 2024
@Phillip9587
Phillip9587 deleted the no-socket branch December 17, 2025 16:35
Sign up for freeto 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.

3 participants

@wesleytodd@mcollina@blakeembrey