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

Fail with exception if a MARC file fails to load during merge operation. #2801

Merged
merged 3 commits into from Mar 22, 2023

Conversation

demiankatz
Copy link
Member

TODO

  • Should we add a command line switch to ignore errors?

@demiankatz
Copy link
Member Author

@EreMaijala, it seems based on discussion in vufind-tech that we can just merge this as-is, unless you have concerns!

Copy link
Contributor

@EreMaijala EreMaijala left a comment

Choose a reason for hiding this comment

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

@demiankatz Agreed, and no concerns.

@demiankatz
Copy link
Member Author

Thanks, @EreMaijala! I decided to add test coverage to this, which ultimately prompted me to make the code a little more sophisticated. Since tests are passing, I feel pretty safe merging this version, but if you take another look and have concerns, please let me know.

Copy link
Contributor

@EreMaijala EreMaijala left a comment

Choose a reason for hiding this comment

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

Even better!

@demiankatz demiankatz merged commit bec049f into vufind-org:dev Mar 22, 2023
6 checks passed
@demiankatz demiankatz deleted the merge-marc-error-handling branch March 22, 2023 16:51
EreMaijala pushed a commit to EreMaijala/vufind that referenced this pull request Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants