From b0715ba5c0377ee6c99da2550ba3ebfca054e503 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Sat, 26 Aug 2017 16:47:21 +0200 Subject: [PATCH] fix: info not error when lock file fails (#739) --- lib/workers/branch/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/workers/branch/index.js b/lib/workers/branch/index.js index 4a22d0d8f4..7b5aa4b92d 100644 --- a/lib/workers/branch/index.js +++ b/lib/workers/branch/index.js @@ -81,7 +81,12 @@ async function processBranch(branchConfig) { return; } } catch (err) { - logger.error({ err }, `Error updating branch: ${err.message}`); + if (err.message !== 'lockFileError') { + logger.error({ err }, `Error updating branch: ${err.message}`); + } else { + logger.info('Error updating branch'); + } + // Don't throw here - we don't want to stop the other renovations return; } try { -- GitLab