diff --git a/lib/api/github.js b/lib/api/github.js index bedb81d894b53d8a04d9dbf446a421530d6d96e5..cd4e10e18d6d4dc556f6e16ee0221f2fb272caae 100644 --- a/lib/api/github.js +++ b/lib/api/github.js @@ -173,6 +173,7 @@ async function initRepo(repoName, token, endpoint, repoLogger) { const platformConfig = {}; try { const res = await ghGotRetry(`repos/${repoName}`); + logger.trace({ repositoryDetails: res.body }, 'Repository details'); platformConfig.privateRepo = res.body.private === true; platformConfig.isFork = res.body.fork === true; config.owner = res.body.owner.login; @@ -566,7 +567,7 @@ async function mergePr(pr) { logger.debug({ options, url }, `mergePr`); await ghGotRetry.put(url, options); } catch (err1) { - logger.debug({ err: err1 }, `Failed to ${options.body.merge_method} PR}`); + logger.debug({ err: err1 }, `Failed to ${options.body.merge_method} PR`); try { options.body.merge_method = 'squash'; logger.debug({ options, url }, `mergePr`);