puppetlabs / puppetlabs-node_manager

Create and manage PE node groups as resources.
Apache License 2.0
10 stars 21 forks source link

PR-35: Make error message more informative #39

Closed WhatsARanjit closed 6 years ago

WhatsARanjit commented 6 years ago

Rather than printing raw data as in #35, I'm making it a little more user-friendly. The debug output will still contain the full raw output. Sample error:

Error: node_manager failed with error type 'schema-violation': The object(s) in your submitted request did not conform to the schema. The problem is: ([:rule "The rule is malformed. Please consult the group documentation for details on the rule grammar."])
WhatsARanjit commented 6 years ago

@reidmv This is in response to #35.