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

Return an error when getting header attributes for invalid metadata version #38

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

andriygm
Copy link
Contributor

@andriygm andriygm commented Dec 9, 2024

Instead of returning an empty header attributes object, which causes no metadata population and later a less helpful "metadata is missing required fields" error, we should bubble this up immediately so the user knows the metadata version is not known/supported.

@andriygm andriygm changed the title Return an error when getting header attributes for invalid header version Return an error when getting header attributes for invalid metadata version Dec 9, 2024
@jmwoliver jmwoliver force-pushed the error-with-invalid-header-ver branch from ec19d67 to 6882c03 Compare January 24, 2025 21:03
@jmwoliver jmwoliver force-pushed the error-with-invalid-header-ver branch from 6882c03 to 24ab8ec Compare January 24, 2025 22:40
@jmwoliver
Copy link
Collaborator

Hey @andriygm, thanks so much for contributing! Sorry for the delay in responding. This change looks good, I'm going to merge this in now. 😃

@jmwoliver jmwoliver merged commit 1b78f81 into rstudio:main Jan 24, 2025
3 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