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