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

[CIVP-22464] BUG Better error message when CSV preprocessing fails in civis_file_to_table #428

Merged

Conversation

jacksonlee-civis
Copy link
Member

@jacksonlee-civis jacksonlee-civis commented Nov 4, 2021

civis.io.civis_file_to_table assumes the internal CSV preprocessing jobs always return run outputs, but this assumption breaks down if CSV preprocessing fails with no run outputs and therefore leads to an uninformative "list index out of bounds" error. This PR handles this error and provides a better error message to aid debugging.

Copy link

@kurtenbachkyle kurtenbachkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

sorry for the delay!

@jacksonlee-civis jacksonlee-civis merged commit e912aa0 into master Nov 10, 2021
@jacksonlee-civis jacksonlee-civis deleted the civp-22464-civis-file-to-table-index-out-of-bound branch November 10, 2021 16:30
@jacksonlee-civis jacksonlee-civis added this to the v1.16.0 milestone Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants