Added scheduled_time field to JobResult model

This commit is contained in:
kkthxbye-code
2022-10-16 13:42:28 +02:00
parent ef0b455b05
commit 1d9808a92a
9 changed files with 43 additions and 4 deletions

View File

@@ -85,7 +85,6 @@ def run_report(job_result, *args, **kwargs):
try:
report.run(job_result)
except Exception as e:
print(e)
job_result.set_status(JobResultStatusChoices.STATUS_ERRORED)
job_result.save()
logging.error(f"Error during execution of report {job_result.name}")