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

Confusing error Do not allow except col_sep_split_separator #81

Closed
elfotografo007 opened this issue Mar 14, 2019 · 1 comment
Closed

Comments

@elfotografo007
Copy link

Is it possible to make the following error message less cryptic? I have no idea what is col_sep_split_separator (It doesn't appear in the documentation or in the parameters), and the language is not clear at all:

message = "Do not allow except col_sep_split_separator " +

In the past CSV.parse('"a"bc"') returned "CSV::MalformedCSVError: Unclosed quoted field on line 1.", which states clearly that a quote is unclosed.

Now, it returns "Do not allow except col_sep_split_separator after quoted fields in line 1.", and I think most people wouldn't know what is causing the problem.

@kou kou closed this as completed in 834598d Mar 17, 2019
@kou
Copy link
Member

kou commented Mar 17, 2019

Thanks for your report.
I've improved the error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants