Skip to content

Commit

Permalink
Добавлен OSError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadvisability authored Aug 21, 2023
1 parent ffb2e4c commit d851d8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions queue_job/jobrunner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ def run(self):
except InterruptedError:
# Interrupted system call, i.e. KeyboardInterrupt during select
self.stop()
except OSError:
self.stop()
except Exception:
_logger.exception(
"exception: sleeping %ds and retrying", ERROR_RECOVERY_DELAY
Expand Down

0 comments on commit d851d8b

Please sign in to comment.