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(export): provide a clear error when local snaps are missing #6928

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

davidfirst
Copy link
Member

Currently, in this case it shows an obscure error: TypeError: Cannot read properties of null (reading 'refsWithOptions').
With this PR, it shows the standard VersionNotFound error, which outlines the component name and the missing snap.

@davidfirst davidfirst merged commit 37b4180 into master Jan 17, 2023
@davidfirst davidfirst deleted the export-err-refsWithOptions branch January 17, 2023 18:29
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