Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix some exception handling #5704

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix some exception handling #5704

merged 1 commit into from
Dec 5, 2024

Conversation

mconnew
Copy link
Member

@mconnew mconnew commented Dec 4, 2024

Preserves the original stacktrace when AsyncResult is throwing stored exception
Fix order of null checks so that SocketConnection actually throws stored exception when failing to connect

Fixes #5697

Preserves the original stacktrace when AsyncResult is throwing stored exception

Fix order of null checks so that SocketConnection actually throws stored exception when failing to connect
@HongGit HongGit merged commit 871981f into dotnet:main Dec 5, 2024
8 of 15 checks passed
Sign up for free to 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.

AsyncResult rethrows exceptions and NetTCP's SocketConnectionInitiator does not throw relevant exceptions
2 participants