summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/puppet/network/client/master.rb3
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