Signed-off-by: Markus Roberts <[email protected]>
---
lib/puppet/agent.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 7d8ea7a..157be40 100644
--- a/lib/puppet/agent.rb
+++ b/lib/puppet/agent.rb
@@ -122,7 +122,7 @@ class Puppet::Agent
def with_client
begin
@client = client_class.new
- rescue => details
+ rescue => detail
puts detail.backtrace if Puppet[:trace]
Puppet.err "Could not create instance of %s: %s" % [client_class,
details]
return
--
1.6.4
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---