summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/agent.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 7d8ea7a60..a188df39e 100644
--- a/lib/puppet/agent.rb
+++ b/lib/puppet/agent.rb
@@ -122,9 +122,9 @@ 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]
+ Puppet.err "Could not create instance of %s: %s" % [client_class, detail]
return
end
yield @client