mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#8366: Add started field to JobResult
This commit is contained in:
@@ -83,6 +83,7 @@ def run_report(job_result, *args, **kwargs):
|
||||
report = get_report(module_name, report_name)
|
||||
|
||||
try:
|
||||
job_result.start()
|
||||
report.run(job_result)
|
||||
except Exception as e:
|
||||
job_result.set_status(JobResultStatusChoices.STATUS_ERRORED)
|
||||
|
||||
Reference in New Issue
Block a user