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

Handle yaml parsing errors when reading dependency records from disk #306

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented Sep 23, 2020

Closes #304

Adding a rescue for Psych::SyntaxError when reading DependencyRecords from disk, which raises the error message to a new internal error type DependencyRecord::Error. That internal error is caught and handled in the command class, with the error message output similar to an error encountered while shelling out a command.

@jonabc
Copy link
Contributor Author

jonabc commented Sep 23, 2020

core failures are being handled in a separate branch

@jonabc jonabc merged commit 248e470 into master Sep 23, 2020
@jonabc jonabc deleted the handle-parse-failures branch September 23, 2020 21:01
@jonabc jonabc mentioned this pull request Sep 24, 2020
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.

Licensed crashing when saved YAML files can't be parsed
1 participant