diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 04:23:27 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 04:23:27 +0000 |
commit | 177888365d70a5eafe47d8fdc16295dbb11ce297 (patch) | |
tree | 83b03b8815e024fd2255b493f7baabfbdf0e1a4f /lib | |
parent | 184266d6229eb45a19303b4cffd5f32f96105918 (diff) | |
download | puppet-177888365d70a5eafe47d8fdc16295dbb11ce297.tar.gz puppet-177888365d70a5eafe47d8fdc16295dbb11ce297.tar.xz puppet-177888365d70a5eafe47d8fdc16295dbb11ce297.zip |
Changing the "found a bug" message to something a bit more informative.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2307 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/network/client/master.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index 518110a63..832cc4303 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -65,7 +65,8 @@ class Puppet::Network::Client::Master < Puppet::Network::Client Puppet.err "Could not apply complete configuration: %s" % detail rescue => detail - Puppet.err "Found a bug: %s" % detail + Puppet.err "Got an uncaught exception of type %s: %s" % + [detail.class, detail] if Puppet[:trace] puts detail.backtrace end |