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

Report persisted schema validation failures #4358

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Report persisted schema validation failures #4358

merged 2 commits into from
Jun 4, 2024

Conversation

estrattonbailey
Copy link
Member

Just noticed this, and I think this has been overlooked since the beginning, but if this parse fails we silently return undefined. No reason we can't report some info around what failed validation.

Here I'm purposefully only including fields that will not include PII. This should give us a better idea of what's wrong, if something ever fails validation

Copy link

render bot commented Jun 4, 2024

Copy link

github-actions bot commented Jun 4, 2024

Old size New size Diff
7.4 MB 7.4 MB 225 B (0.00%)

@gaearon gaearon merged commit a2d5343 into main Jun 4, 2024
6 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.

2 participants