From 33d58ce2a341ff28ed38ee9e52bf07aa0b7854c1 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Sun, 3 Sep 2017 06:59:51 +0200 Subject: [PATCH] fix: log prTitle when creating pr (#772) --- lib/workers/pr/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/workers/pr/index.js b/lib/workers/pr/index.js index 2f8d9c4bda..b1dc63afd5 100644 --- a/lib/workers/pr/index.js +++ b/lib/workers/pr/index.js @@ -150,7 +150,7 @@ async function ensurePr(prConfig) { logger.info(`Updated ${existingPr.displayNumber}`); return existingPr; } - logger.debug(`Creating PR for branch ${branchName}`); + logger.debug({ prTitle }, `Creating PR for branch ${branchName}`); const pr = await config.api.createPr(branchName, prTitle, prBody); if (config.labels.length > 0) { await config.api.addLabels(pr.number, config.labels); -- GitLab