Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Preserve traceback when re-raise undeclared exception
Browse files Browse the repository at this point in the history
  • Loading branch information
microdog committed Jun 6, 2016
1 parent 5aa0b90 commit c8efb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftpy/thrift.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def handle_exception(self, e, result):
setattr(result, exc_name, e)
break
else:
raise e
raise

def process(self, iprot, oprot):
api, seqid, result, call = self.process_in(iprot)
Expand Down

0 comments on commit c8efb16

Please sign in to comment.