Move noisy log line to debug (#473)

* Move noisy log level to debug

I think I meant to actually set this to debug before :/

* Create 473.bugfix
This commit is contained in:
Will Hunt 2022-09-09 09:31:25 +01:00 committed by GitHub
parent 1e44e52179
commit cbc7718808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/473.bugfix Normal file
View File

@ -0,0 +1 @@
Log noisy "Got GitHub webhook event" log line at debug level.

View File

@ -124,7 +124,7 @@ export class Webhooks extends EventEmitter {
private async onGitHubPayload({id, name, payload}: EmitterWebhookEvent) {
const action = (payload as unknown as {action: string|undefined}).action;
const eventName = `github.${name}${action ? `.${action}` : ""}`;
log.info(`Got GitHub webhook event ${id} ${eventName}`, payload);
log.debug(`Got GitHub webhook event ${id} ${eventName}`, payload);
try {
await this.queue.push({
eventName,