diff --git a/controllers/githubHooks.js b/controllers/githubHooks.js index a4aee605..9b16a526 100644 --- a/controllers/githubHooks.js +++ b/controllers/githubHooks.js @@ -25,7 +25,7 @@ const HooksController = { var secret = req.query.secret; if (secret !== config.github.hook_secret) { - var m = 'Invalid Hook Secret: ' + secret; + var m = 'Invalid Hook Secret'; hooksDebug(m); console.error(m); return res.status(401).send('Invalid POST'); diff --git a/lib/git-manager.js b/lib/git-manager.js index 722d9b11..6e482006 100644 --- a/lib/git-manager.js +++ b/lib/git-manager.js @@ -19,8 +19,6 @@ import { noopPacer } from './pacer.js'; const MyOctokit = Octokit.plugin(throttling, retry); const gitDebug = debug('pulldasher:github'); -console.log(config.github); - const github = new MyOctokit({ auth: config.github.token, // Auto-retry transient 5xx/network failures (the throttle plugin only covers