summaryrefslogtreecommitdiffstats
path: root/spec/unit/util
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-02 12:25:39 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-02 15:25:52 -0700
commit3bb8bd30c039edaab0f9eb4ff6865ba5077bf549 (patch)
tree0dba10b5caf804c7d3f158dc17b5f5834571ecd3 /spec/unit/util
parenta71bfa10123276b1dc96c5ef540b9fbf222c2f6d (diff)
downloadpuppet-3bb8bd30c039edaab0f9eb4ff6865ba5077bf549.tar.gz
puppet-3bb8bd30c039edaab0f9eb4ff6865ba5077bf549.tar.xz
puppet-3bb8bd30c039edaab0f9eb4ff6865ba5077bf549.zip
(#7317) better error handling in CLI face facade.
The error handling code in the face CLI facade was pretty terrible: it make a bunch of assumptions about the structure of the error message it got back, and used exceptions to communicate inside the same function. Instead, we handle errors uniformly without raising and catching in the same method, report more nicely, and exit cleanly in all cases. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit/util')
0 files changed, 0 insertions, 0 deletions