logs: info not warn when branch automerge fails

This commit is contained in:
Rhys Arkins 2018-06-26 12:54:57 +02:00
parent e51f152eaf
commit 1362d980b9

View file

@ -548,7 +548,7 @@ async function mergeBranch(branchName, mergeType) {
try { try {
await get.patch(url, options); await get.patch(url, options);
} catch (err) { } catch (err) {
logger.warn( logger.info(
expandError(err), expandError(err),
`Error pushing branch merge for ${branchName}` `Error pushing branch merge for ${branchName}`
); );
@ -565,7 +565,7 @@ async function mergeBranch(branchName, mergeType) {
try { try {
await get.post(url, options); await get.post(url, options);
} catch (err) { } catch (err) {
logger.warn( logger.info(
expandError(err), expandError(err),
`Error pushing branch merge for ${branchName}` `Error pushing branch merge for ${branchName}`
); );