Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(webhooks): Regression where body wasn't logged after webhook log enrichment #3402

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

nalanj
Copy link
Contributor

@nalanj nalanj commented Jan 29, 2025

In the recent webhook enrichment PR I moved to our standard http logging mechanism. Unfortunately in doing so we removed logging the body of the request. This adds the appropriate mechanism to log the body when desired and adds it back to webhook logs.

How I tested it

  • Run a webhook and confirm the body is recorded

@nalanj nalanj self-assigned this Jan 29, 2025
@nalanj nalanj marked this pull request as ready for review January 29, 2025 20:55
@nalanj nalanj requested a review from a team January 29, 2025 20:55
Copy link
Collaborator

@bodinsamuel bodinsamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand how it got removed 😅

@nalanj nalanj merged commit 2531dfd into master Jan 29, 2025
17 checks passed
@nalanj nalanj deleted the alan/webhook-log-body branch January 29, 2025 21:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants