HomePhorge

#7211: more helpful error messages in various cases.
618495c7b706Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

#7211: more helpful error messages in various cases.

We were emitting a bunch of unhelpful failure messages, surrounding invalid
actions and especially default actions interacting with the command-line.

This cleans those up, to give a helpful, informative, and correct message in
all cases. Notably, we no longer report that there is no "default" action
when you specify an unknown action on a face.

This change revealed some other weaknesses in our unit tests, now correctly,
that result in slightly more robust code.

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0d9eaea6fafe: Merge branch 'ticket/2.7rc/7708-reorganize-config-refs' into 2.7rc
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU618495c7b706: #7211: more helpful error messages in various cases. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jun 1 2011, 12:26 AM