This commit is contained in:
Kenneth Kehl
2024-08-15 10:31:02 -07:00
parent 714f6f1588
commit 146f0cc787
20 changed files with 113 additions and 92 deletions

View File

@@ -55,7 +55,8 @@ def cleanup_unfinished_jobs():
acceptable_finish_time = job.processing_started + timedelta(minutes=5)
except TypeError:
current_app.logger.error(
f"Job ID {job.id} processing_started is {job.processing_started}."
f"Job ID {job.id} processing_started is {job.processing_started}.",
exc_info=True,
)
raise
if now > acceptable_finish_time: