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

(PDK-1046) Improve handling of unexpected errors from puppet parser. #541

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

bmjen
Copy link
Contributor

@bmjen bmjen commented Jul 6, 2018

This is to fix how PDK handles unexpected errors/failures from puppet parser. Prior to this fix, these unexpected errors would cause PDK to be unable to parse the output and exit with a Ruby error/exception. Now it will read any unexpected strings from the parser and put those into the message field of a Report, which will be outputed to the user.

@bmjen bmjen added the bug label Jul 6, 2018
@bmjen bmjen requested review from scotje and rodjek July 6, 2018 19:24
@coveralls
Copy link

coveralls commented Jul 6, 2018

Coverage Status

Coverage increased (+0.01%) to 92.898% when pulling 8224196 on bmjen:pdk_1046 into 080f95a on puppetlabs:master.

@rodjek rodjek merged commit aeadec9 into puppetlabs:master Jul 9, 2018
@bmjen bmjen deleted the pdk_1046 branch July 9, 2018 16:45
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.

3 participants