Skip to content

Commit

Permalink
Merge 0c99fea into b055d1e
Browse files Browse the repository at this point in the history
  • Loading branch information
nparrish authored Dec 14, 2017
2 parents b055d1e + 0c99fea commit 517afa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions promise/promise.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ def _process_future_result(resolve, reject):
def handle_future_result(future):
exception = future.exception()
if exception:
if hasattr(future, '_exc_info'):
exception.stack = future._exc_info[2]
reject(exception)
else:
resolve(future.result())
Expand Down

0 comments on commit 517afa4

Please sign in to comment.