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

Corner case for cancelled server methods that raise exceptions #348

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

LasseBlaauwbroek
Copy link
Contributor

When a server method is cancelled, but it nonetheless raises an exception (other than CancelledError), this exception cannot be reported to the caller (because it has cancelled that call).

The only place where it can go is to the asyncio exception handler...

When a server method is cancelled, but it nonetheless raises an exception (other
than `CancelledError`), this exception cannot be reported to the caller (because
it has cancelled that call).

The only place where it can go is to the asyncio exception handler...
@haata haata merged commit b6ea909 into capnproto:master Nov 9, 2023
12 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.

None yet

2 participants