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

Stream error handling #269

Closed
djungelorm opened this issue May 8, 2016 · 1 comment
Closed

Stream error handling #269

djungelorm opened this issue May 8, 2016 · 1 comment

Comments

@djungelorm
Copy link
Member

Need better handling of errors in streamed RPCs. At the moment, clients differ in how they handle this. E.g. C# ignores the error, Python passes the error to the client when __call__() is invoked but leaves the stream open.

Possible desired behaviour:

  • Server sends a response with the error field set, then closes the stream.
  • Clients set the streams value such that calling get throws the RPC error exception
@djungelorm
Copy link
Member Author

Not applicable to Lua client (doesn't support streams)

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

1 participant