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: handler errors no being sent to subprocess #784

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

d-gubert
Copy link
Member

What? ⛵

Catch errors that happen during the execution of subprocess' requests in DenoRuntimeSubprocessController and send a proper JSON RPC error response to the subprocess.

These errors were not being sent over and the subprocess just waited indefinitely for a response.

Why? 🤔

Apps should be able to handle exceptions that happen when something goes wrong with their calls

Links 🌎

PS 👀

@d-gubert d-gubert merged commit 52805ec into alpha Jul 29, 2024
8 checks passed
@d-gubert d-gubert deleted the fix/error-responses-to-deno branch July 29, 2024 17:17
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.

2 participants