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

change reported line number for errors #44

Open
christianhanvey opened this issue Dec 4, 2012 · 0 comments
Open

change reported line number for errors #44

christianhanvey opened this issue Dec 4, 2012 · 0 comments

Comments

@christianhanvey
Copy link
Contributor

christianhanvey commented Dec 4, 2012

When there's an error with column count, the reported line the error is on is actually one less than the actual error. I guess this is because the rows are counted from the actual import data, and don't include the header row - but as files/raw data always require a header row, why not report the actual line?

Sample output below, where the actual error is on line 9, it is reported as on line 8:

Console running...
Attempted to set execution time to infinite. Max execution time currently: infinite.
Running pre-import tests on submitted data...
Data file upload overriding any manual input. Filename: products.txt
No errors in pre-import found. Preparing import values...
Error: Element count do not match. Please check for correct syntax on line 8

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

1 participant