-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(agent): use context.abort() instead of returning We stopped always yielding stuff unconditionally, so now if you get an error and use our own `abort_with_msg` we'll get an error iterating responses, as we never yield anything and just return `None`. So instead just use proper grpc `ServicerContext.abort()` method to raise an exception instead. * fix(agent): log exception instead of returning (revert #121) We need to keep backward compatibility with older clients and they will have trouble unpickling a new exception, as we are sending these out pickled by reference and not by value (solving that would require serialization backend specific actions, which I would rather avoid for now to unblock a release).
- Loading branch information
Showing
1 changed file
with
11 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters