Skip to content

Commit

Permalink
Do not treat GreenletExit as error.
Browse files Browse the repository at this point in the history
  • Loading branch information
brainbot-devops committed Dec 4, 2019
1 parent d0a5b92 commit b780ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scenario_player/tasks/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def __call__(self, *args, **kwargs):
self._start_time = time.monotonic()
try:
return self._run(*args, **kwargs)
except gevent.GreenletExit:
pass
except BaseException as ex:
self.state = TaskState.ERRORED
log.exception("Task errored", task=self)
Expand Down

0 comments on commit b780ea2

Please sign in to comment.