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: remove attempt to get a more comprehensive error #7270

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

martinjagodic
Copy link
Member

Closes #7262

attempt was used to better handle the function, but it obtused the error so it was not clear which frontamtter field was duplicated.

@martinjagodic martinjagodic requested a review from a team as a code owner August 27, 2024 13:36
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Aug 27, 2024
@martinjagodic martinjagodic removed the type: bug code to address defects in shipped code label Aug 27, 2024
@martinjagodic martinjagodic requested review from demshy and removed request for a team August 27, 2024 13:58
demshy
demshy previously approved these changes Aug 30, 2024
@martinjagodic
Copy link
Member Author

The collection list view now displays the error toast, but does not load any entries if one is corrupted. A fix should be somewhere in backend.ts. formattedEntries and filteredEntries should return the non-corrupted entries, but still trigger the error.

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.

Throw better error on duplicate frontmatter key
2 participants