diff options
author | Luke Kanies <luke@madstop.com> | 2007-09-06 19:24:25 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-09-06 19:24:25 -0500 |
commit | 4104bd3ee9fa146b49aa446fbf4cc3edcdf0974d (patch) | |
tree | dfa1a147f8949c4fd09484979714397c4248f666 /lib/puppet/network/handler/configuration.rb | |
parent | b7f42441b91c921cd31f3d8c7875ce98bdedf786 (diff) | |
download | puppet-4104bd3ee9fa146b49aa446fbf4cc3edcdf0974d.tar.gz puppet-4104bd3ee9fa146b49aa446fbf4cc3edcdf0974d.tar.xz puppet-4104bd3ee9fa146b49aa446fbf4cc3edcdf0974d.zip |
Fixing #807. The exception handling should more closely resemble how it used to be done.
Diffstat (limited to 'lib/puppet/network/handler/configuration.rb')
-rw-r--r-- | lib/puppet/network/handler/configuration.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/network/handler/configuration.rb b/lib/puppet/network/handler/configuration.rb index 05c86f22e..2c72d3d2b 100644 --- a/lib/puppet/network/handler/configuration.rb +++ b/lib/puppet/network/handler/configuration.rb @@ -111,7 +111,9 @@ class Puppet::Network::Handler if Puppet[:trace] puts detail.backtrace end - Puppet.err detail + unless local? + Puppet.err detail.to_s + end raise XMLRPC::FaultException.new( 1, detail.to_s ) |