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-996) Provide better messaging when type cannot be resolved #87

Merged
merged 2 commits into from
May 31, 2018
Merged

(PDK-996) Provide better messaging when type cannot be resolved #87

merged 2 commits into from
May 31, 2018

Conversation

da-ar
Copy link

@da-ar da-ar commented May 31, 2018

Also contains:

Better messaging when provider.get does not return correctly
(maint) Pre-commit hook should now properly deal with stages changes

@da-ar da-ar added the bug label May 31, 2018
@da-ar da-ar requested a review from DavidS May 31, 2018 13:17
end
Puppet::ResourceApi::TypeShim.new(resource_hash, name, context.type.namevars, attr_def)
rescue NoMethodError => e
Copy link
Contributor

Choose a reason for hiding this comment

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

  • This might hide/modify errors from the get() call itself.
  • This is relevant to PDK-917, but the commit is not tagged
  • There are many more calls of get() relevant to PDK-917 that need checking
  • I've updated pdk-917 to be more specific about what has to be checked

Copy link
Author

Choose a reason for hiding this comment

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

Have removed this commit from the PR, will work on separately for PDK-917

@DavidS DavidS merged commit da454a7 into puppetlabs:master May 31, 2018
@da-ar da-ar deleted the pdk-996 branch May 31, 2018 14:35
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.

2 participants