Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions asynq/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ async def wrapped(*_args, **_kwargs):
if exception is None:
result = generator.send(send)
else:
result = generator.throw(
type(exception), exception, exception.__traceback__
)
result = generator.throw(exception)
except StopIteration as exc:
return exc.value

Expand Down
Loading