diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-02 12:25:39 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-02 15:25:52 -0700 |
commit | 3bb8bd30c039edaab0f9eb4ff6865ba5077bf549 (patch) | |
tree | 0dba10b5caf804c7d3f158dc17b5f5834571ecd3 /lib/puppet/interface/documentation.rb | |
parent | a71bfa10123276b1dc96c5ef540b9fbf222c2f6d (diff) | |
download | puppet-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 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions