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

Add exception for invalid encodings #88

Merged
merged 3 commits into from
Jan 15, 2024
Merged

Conversation

mkuhring
Copy link
Contributor

@mkuhring mkuhring commented May 3, 2021

No description provided.

@mkuhring mkuhring requested a review from holtgrewe May 3, 2021 09:04
sellth and others added 2 commits November 2, 2023 09:37
- it doesn't work
- 'invalid encoding after line x' makes no sense
- line no with invalid chars is already reported by the csv reader exception
@sellth
Copy link
Collaborator

sellth commented Nov 2, 2023

Looks mostly good to me. I've removed the reporting of the line number in the error message as csv.reader only reports actually read lines, maybe? At least it's always 0 for me.

@holtgrewe holtgrewe merged commit 2892ffb into master Jan 15, 2024
6 checks passed
@holtgrewe holtgrewe deleted the hotfix/catch_encoding_issues branch January 15, 2024 18:15
sellth added a commit that referenced this pull request Jan 16, 2024
Co-authored-by: Mathias Kuhring <[email protected]>
Co-authored-by: Thomas Sell <[email protected]>
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.

3 participants