From e630e65e51644178fad6971641a9d394a913bb0d Mon Sep 17 00:00:00 2001 From: David Levi Date: Mon, 1 Aug 2022 11:35:57 +0300 Subject: [PATCH] fix: Webhook lambda misleading log --- modules/webhook/lambdas/webhook/src/webhook/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhook/lambdas/webhook/src/webhook/handler.ts b/modules/webhook/lambdas/webhook/src/webhook/handler.ts index 983a11cf52..5f69abbd66 100644 --- a/modules/webhook/lambdas/webhook/src/webhook/handler.ts +++ b/modules/webhook/lambdas/webhook/src/webhook/handler.ts @@ -144,8 +144,8 @@ async function handleWorkflowJob( eventType: githubEvent, installationId: installationId, }); + logger.info(`Successfully queued job for ${body.repository.full_name}`, LogFields.print()); } - logger.info(`Successfully queued job for ${body.repository.full_name}`, LogFields.print()); return { statusCode: 201 }; }