Commit 13e87ab7 authored by Jason Madden's avatar Jason Madden

joining in a Group also raises the original traceback.

parent 5396a5ba
...@@ -311,6 +311,8 @@ class Group(GroupMappingMixin): ...@@ -311,6 +311,8 @@ class Group(GroupMappingMixin):
self._empty_event.wait(timeout=timeout) self._empty_event.wait(timeout=timeout)
for greenlet in greenlets: for greenlet in greenlets:
if greenlet.exception is not None: if greenlet.exception is not None:
if hasattr(greenlet, '_raise_exception'):
greenlet._raise_exception()
raise greenlet.exception raise greenlet.exception
else: else:
self._empty_event.wait(timeout=timeout) self._empty_event.wait(timeout=timeout)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment