Skip to content

Commit

Permalink
read traceback from target promise
Browse files Browse the repository at this point in the history
  • Loading branch information
lexdene committed Jan 9, 2020
1 parent 9ba6fbd commit 1727eb7
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 1727eb7

Please sign in to comment.