From 9ae62014bd817ee2467cc7b77abd4bd05383e1bc Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Wed, 30 Nov 2016 16:07:14 +0100 Subject: [PATCH] Include query status in log entries --- batch/models/job_fallback.js | 1 + 1 file changed, 1 insertion(+) diff --git a/batch/models/job_fallback.js b/batch/models/job_fallback.js index 31317c2b..9caa0d1d 100644 --- a/batch/models/job_fallback.js +++ b/batch/models/job_fallback.js @@ -225,6 +225,7 @@ JobFallback.prototype.log = function(logger) { username: this.data.user, dbhost: this.data.host, job: this.data.job_id, + status: query.status, elapsed: elapsedTime(query.started_at, query.ended_at) };