Skip to content

Commit

Permalink
feat: specify status when merge failed and status exists
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Oct 25, 2021
1 parent 0a97f27 commit f0db6ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/events/pr-handlers/actions/updateBranch.ts
Expand Up @@ -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;
Expand Down

0 comments on commit f0db6ed

Please sign in to comment.