Skip to content

Commit c6275f9

Browse files
authored
fix: Webhook lambda misleading log (github-aws-runners#2291)
1 parent 6de895f commit c6275f9

File tree

1 file changed

+1
-1
lines changed
  • modules/webhook/lambdas/webhook/src/webhook

1 file changed

+1
-1
lines changed

modules/webhook/lambdas/webhook/src/webhook/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ async function handleWorkflowJob(
144144
eventType: githubEvent,
145145
installationId: installationId,
146146
});
147+
logger.info(`Successfully queued job for ${body.repository.full_name}`, LogFields.print());
147148
}
148-
logger.info(`Successfully queued job for ${body.repository.full_name}`, LogFields.print());
149149
return { statusCode: 201 };
150150
}
151151

0 commit comments

Comments
 (0)