Skip to content

Commit

Permalink
StandardRB
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jan 16, 2025
1 parent 4e16c19 commit fbc2f81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def validate(record)
valid_csv_header = false
record.errors.add(:csv_file,
"Missing a required CSV header. friendlier_id, field_name, field_type, values, definition, definition_source, and parent_field_name are required.")

# Log the CSV file content
Rails.logger.error("CSV validation failed. CSV content: #{record.csv_file.download}")
end
Expand Down

0 comments on commit fbc2f81

Please sign in to comment.