From 34286d5ec885cd046eae6f1eed9051de13bf0d3d Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Wed, 26 Jan 2022 10:09:10 +0200 Subject: [PATCH] Include more details when logging GitLabRebaseResultMismatch --- marge/single_merge_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/marge/single_merge_job.py b/marge/single_merge_job.py index 7d3cb590..8bd35c47 100644 --- a/marge/single_merge_job.py +++ b/marge/single_merge_job.py @@ -56,8 +56,8 @@ def update_merge_request_and_accept(self, approvals): merge_request, source_repo_url=source_repo_url, ) - except GitLabRebaseResultMismatch: - log.info("Gitlab rebase didn't give expected result") + except GitLabRebaseResultMismatch as err: + log.info("Gitlab rebase didn't give expected result: " + err.reason) merge_request.comment("Someone skipped the queue! Will have to try again...") continue