|
|
@ -221,6 +221,7 @@ class SchedulerUtil: |
|
|
|
if event_type == 'JobExecutionEvent' and event.exception: |
|
|
|
exception_info = str(event.exception) |
|
|
|
status = '1' |
|
|
|
if hasattr(event, 'job_id'): |
|
|
|
job_id = event.job_id |
|
|
|
query_job = cls.get_scheduler_job(job_id=job_id) |
|
|
|
if query_job: |
|
|
|