Skip to content

Commit

Permalink
log event body
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry committed Nov 7, 2023
1 parent 271c593 commit ca35ee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const TriggerBuild = async (event: APIGatewayEvent): Promise<APIGatewayPr
}
let body: PushEvent;
try {
console.log(event.body);
body = JSON.parse(event.body) as PushEvent;
} catch (e) {
console.log('[TriggerBuild]: ERROR! Could not parse event.body', e);
Expand Down

0 comments on commit ca35ee6

Please sign in to comment.