Skip to content

Commit ce5583d

Browse files
committed
Wrong merge naming for run_id => _run_id [skip ci]
1 parent 3c2c8a9 commit ce5583d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ def handle_job_exception(exce, job):
201201
if GlobalConfig().config['admin']['no_emails'] is False:
202202
if job is not None:
203203
email_helpers.send_error_email(GlobalConfig().config['admin']['email'], error_helpers.format_error(
204-
'Base exception occurred in jobs.py: ', exce), run_id=job.run_id, name=job.name, machine=job.machine_description)
204+
'Base exception occurred in jobs.py: ', exce), run_id=job._run_id, name=job.name, machine=job.machine_description)
205205
else:
206206
email_helpers.send_error_email(GlobalConfig().config['admin']['email'], error_helpers.format_error(
207207
'Base exception occurred in jobs.py: ', exce))
208208

209209
# reduced error message to client
210210
if job.email and GlobalConfig().config['admin']['email'] != job.email:
211-
email_helpers.send_error_email(job.email, exce, run_id=job.run_id, name=job.name, machine=job.machine_description)
211+
email_helpers.send_error_email(job.email, exce, run_id=job._run_id, name=job.name, machine=job.machine_description)
212212

213213
if __name__ == '__main__':
214214
#pylint: disable=broad-except,invalid-name

0 commit comments

Comments
 (0)