Skip to content

Commit

Permalink
Merge pull request #25 from aliaksandr-trush/bugfix/24-1
Browse files Browse the repository at this point in the history
remove redundant terminate call
  • Loading branch information
avarabyeu authored May 15, 2018
2 parents e00d668 + 3f503d0 commit b8a4c4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reportportal_client/service_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ def process_item(self, item):
getattr(self.rp_client, method)(**kwargs)
except Exception:
if self.error_handler:
if not self.error_handler(sys.exc_info()):
self.terminate(nowait=True)
self.error_handler(sys.exc_info())
else:
self.terminate(nowait=True)
raise
Expand Down

0 comments on commit b8a4c4b

Please sign in to comment.