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

Improve error reporting when custom error handler is used #40

Open
SimonFrings opened this issue May 16, 2022 · 0 comments
Open

Improve error reporting when custom error handler is used #40

SimonFrings opened this issue May 16, 2022 · 0 comments

Comments

@SimonFrings
Copy link
Contributor

This ticket is referencing the work done by @clue in reactphp/socket#290. A global error handler may interrupt our code flow and unset the error reported to us (reactphp/socket#286). The future logic should make sure to set a custom error handler before invoking any functions that may report an error and restore the original error handler afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants