Skip to content

Commit 0d47590

Browse files
authored
MergeRequestAcceptor - detailed info for unexpected situation (#198)
1 parent d6bf04d commit 0d47590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/MergeRequestAcceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export const acceptMergeRequest = async (
331331
}
332332

333333
if (mergeRequestInfo.detailed_merge_status !== DetailedMergeStatus.Mergeable) {
334-
const message = `The merge request can't be merged due to unexpected merge status: ${mergeRequestInfo.detailed_merge_status}`;
334+
const message = `The merge request can't be merged due to unexpected status. Merge status: ${mergeRequestInfo.detailed_merge_status} and pipeline status: ${currentPipeline.status}`;
335335
console.log(`[MR][${mergeRequestInfo.iid}] merge failed: ${message}, assigning back`);
336336

337337
await Promise.all([

0 commit comments

Comments
 (0)