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

Gracefully handle errors in socket creation #662

Merged
merged 3 commits into from
Feb 16, 2025

Conversation

Vudjun
Copy link
Contributor

@Vudjun Vudjun commented Feb 14, 2025

In all other calls, exceptions are handled within the ManagedSocket class, this can't easily be done here as the exception is thrown from the constructor, so the exception is handled in ISocket and the correct error is passed to the application.

This should fix #660

@github-actions github-actions bot added the horizon Affects the Horizon OS HLE components. label Feb 14, 2025
@GreemDev GreemDev merged commit bc07bc4 into Ryubing:master Feb 16, 2025
10 checks passed
@GreemDev GreemDev mentioned this pull request Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
horizon Affects the Horizon OS HLE components.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Socket API not consistent with nnsdk
2 participants