Skip to content

Improve data errors output#130

Merged
eelcoj merged 1 commit intomainfrom
improve-data-errors
Feb 8, 2026
Merged

Improve data errors output#130
eelcoj merged 1 commit intomainfrom
improve-data-errors

Conversation

@eelcoj
Copy link
Copy Markdown
Contributor

@eelcoj eelcoj commented Feb 5, 2026

Recently worked on a site that heavily uses Perron's programmatic content feature. Pretty cool, unless you have errors in your data files. Commas within your CSV values (and they are not wrapped in quotes) 😱

This should improve those errors. Example:

rails perron:sync_sources
bin/rails aborted!
Perron::Errors::DataParseError: Column mismatch in `~/site/app/content/data/platforms.csv` at row 8 (). Expected: id, name, description, contact_file_path, post_layout_path, default_layout_path, common_use_cases (Perron::Errors::DataParseError)

@eelcoj eelcoj merged commit 5c2072f into main Feb 8, 2026
1 check passed
@eelcoj eelcoj deleted the improve-data-errors branch February 8, 2026 06:08
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.

1 participant