Skip to content
Snippets Groups Projects
Commit f6d8eb7a authored by Rhys Arkins's avatar Rhys Arkins
Browse files

Revert "refactor(gitlab): always debug merge err"

This reverts commit 6237a7f4.
parent db46eb64
No related branches found
Tags 35.24.4
No related merge requests found
......@@ -770,7 +770,6 @@ async function mergePr(iid) {
});
return true;
} catch (err) /* istanbul ignore next */ {
logger.debug({ err }, 'merge PR error');
if (err.statusCode === 401) {
logger.info('No permissions to merge PR');
return false;
......@@ -779,6 +778,7 @@ async function mergePr(iid) {
logger.info('PR not acceptable for merging');
return false;
}
logger.debug({ err }, 'merge PR error');
logger.info('PR merge failed');
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment