From f0db6ed21b0581f0316284e7770571e11d972716 Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau Date: Tue, 26 Oct 2021 00:06:44 +0200 Subject: [PATCH] feat: specify status when merge failed and status exists --- src/events/pr-handlers/actions/updateBranch.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/events/pr-handlers/actions/updateBranch.ts b/src/events/pr-handlers/actions/updateBranch.ts index 5e34feffc..206452295 100644 --- a/src/events/pr-handlers/actions/updateBranch.ts +++ b/src/events/pr-handlers/actions/updateBranch.ts @@ -55,7 +55,9 @@ export const updateBranch = async ( issue_number: pullRequest.number, body: `${ login ? `@${login} ` : '' - }Could not update branch (unknown error).`, + }Could not update branch (unknown error${ + result.status ? `, status = ${result.status}` : '' + }).`, }), ); return false;