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

Add more debugging info to StructBuilder validate_content #5357

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Jan 31, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

Somehow when an error happens during StructBuilder.validate_content, we found that its error message is not enough for us to investigate which field causes the problem. It might be better to add more debugging info there.

What changes are included in this PR?

Adding some more debugging info to the panic error.

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 31, 2024
@viirya viirya merged commit 121666e into apache:master Feb 1, 2024
25 checks passed
@viirya
Copy link
Member Author

viirya commented Feb 1, 2024

Thank you @tustvold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants