Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: Delivered webhooks with empty response bodies should not fail #245

Merged
merged 2 commits into from
Jun 3, 2022

Conversation

vincent-pochet
Copy link
Collaborator

Today, if we successfully deliver a webhook (HTTP 200 response code), if the response body is empty, the job fails with a JSON::ParserError.

The webhook has been delivered, so the job should not failed

@vincent-pochet vincent-pochet added 🔔 Webhook Related to Webhooks 🐞 Bug Something isn't working labels Jun 3, 2022
@vincent-pochet vincent-pochet self-assigned this Jun 3, 2022
@vincent-pochet vincent-pochet merged commit 1758c13 into main Jun 3, 2022
@vincent-pochet vincent-pochet deleted the fix-webhook-empty-response branch June 3, 2022 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔔 Webhook Related to Webhooks 🐞 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants