From 4fc39dedbc7277ea12d2f47ad74c15687d333df7 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Fri, 1 Dec 2017 17:03:36 +0000 Subject: [PATCH] framework/execution: Fix message parameter order --- wa/framework/execution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/framework/execution.py b/wa/framework/execution.py index ba566b64..f4367061 100644 --- a/wa/framework/execution.py +++ b/wa/framework/execution.py @@ -488,7 +488,7 @@ class Runner(object): if job.status in rc.retry_on_status: if job.retries < rc.max_retries: msg = 'Job {} iteration {} completed with status {}. retrying...' - self.logger.error(msg.format(job.id, job.status, job.iteration)) + self.logger.error(msg.format(job.id, job.iteration, job.status)) self.retry_job(job) self.context.move_failed(job) self.context.write_state()