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

Improve Error Message When Reading Invalid Files #230

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

michaelmckinsey1
Copy link
Collaborator

The current error message when the Thicket readers fail does not identify which file caused the error. Example if we add an arbitrarily empty file to a directory of good files:

Current error
Screenshot from 2024-11-14 17-47-42

It is not possible to identify which file is bad from the current error message, which becomes troublesome if you are working with many files. The new error message will identify which file caused the exception, so the user can remove the bad file.

New error
Screenshot from 2024-11-14 18-08-38

@michaelmckinsey1 michaelmckinsey1 added area-thicket Issues and PRs involving Thicket's core Thicket datastructure and associated classes priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-feature Requests for new features or PRs which implement new features labels Nov 15, 2024
@michaelmckinsey1 michaelmckinsey1 self-assigned this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-thicket Issues and PRs involving Thicket's core Thicket datastructure and associated classes priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-feature Requests for new features or PRs which implement new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant