Skip to content

Commit

Permalink
Merge pull request #86 from lexdene/feature_promise_list_traceback
Browse files Browse the repository at this point in the history
read traceback from target promise
  • Loading branch information
syrusakbary committed Jan 28, 2020
2 parents 9ba6fbd + 1727eb7 commit 4627315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise/promise_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _promise_rejected(self, reason, promise):
# assert not self.is_resolved
# assert isinstance(self._values, Iterable)
self._total_resolved += 1
self._reject(reason, traceback=promise._traceback)
self._reject(reason, traceback=promise._target()._traceback)
return True

@property
Expand Down

0 comments on commit 4627315

Please sign in to comment.