goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
271 stars 12 forks source link

Expected ctx cancelled should not override a source error #276

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

Fix for https://github.com/pikers/piker/issues/244 which addresses an issue where if a Context is cancelled due to one side erroring, we don't want to mask that orignal source error with the ContextCancelled which is responded back from the callee side which was cancelled as part of the caller side's error handling.

So in other words,