summaryrefslogtreecommitdiffstats
path: root/lib/puppet/networkclient.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/networkclient.rb')
-rw-r--r--lib/puppet/networkclient.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/networkclient.rb b/lib/puppet/networkclient.rb
index fc204ce10..766acef1b 100644
--- a/lib/puppet/networkclient.rb
+++ b/lib/puppet/networkclient.rb
@@ -68,6 +68,9 @@ module Puppet
Puppet.err "Could not call %s.%s: %s" %
[namespace, method, detail.inspect]
#raise NetworkClientError.new(detail.to_s)
+ if Puppet[:debug]
+ puts detail.backtrace
+ end
raise
end
}