From bdaff7b64d8437f4af82f6aa0f69fabba27ea20e Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 3 Sep 2018 21:23:09 +0200
Subject: [PATCH] refactor: fix oldPrBody log

---
 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 28d081b207..aba4a1a38a 100644
--- a/lib/workers/pr/index.js
+++ b/lib/workers/pr/index.js
@@ -237,7 +237,7 @@ async function ensurePr(prConfig) {
         logger.debug(
           {
             prTitle,
-            oldPrBody: existingPr.body,
+            oldPrBody: existingPrBody,
             newPrBody: prBody,
           },
           'PR body changed'
-- 
GitLab