decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.96k stars 3.05k forks source link

fix: remove attempt to get a more comprehensive error #7270

Open martinjagodic opened 2 months ago

martinjagodic commented 2 months ago

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 commented 2 months ago

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.