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: skip processing invalid body payload #132

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Aug 22, 2023

Fix #131
Fix SNAPSHOT-RELAYER-2

This fix the error when the body to the POST request to / is not following the expected format.

E2E tests also added to confirm the response code.

@wa0x6e wa0x6e requested a review from Todmy August 22, 2023 13:55
@wa0x6e wa0x6e changed the title fix: skip processing invalid payload fix: skip processing invalid body payload Aug 22, 2023
Copy link
Contributor

@Todmy Todmy left a comment

Choose a reason for hiding this comment

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

utACK

@wa0x6e wa0x6e merged commit befdf6f into master Aug 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of undefined (reading 'message')
2 participants