Skip to content

Commit

Permalink
Merge pull request #11 from anexia/process-future-tasks-log-exceptions
Browse files Browse the repository at this point in the history
Log exceptions in handle_tick in process_future_tasks
  • Loading branch information
nezhar authored Aug 29, 2024
2 parents 1156e17 + 241a4f0 commit acecd28
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def handle_tick(self):
*sys.exc_info(), limit=None, chain=None
),
}
logger.exception(exc)
self.current_task_pk = None
task.save()

Expand Down

0 comments on commit acecd28

Please sign in to comment.