diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 23:09:23 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 23:09:23 +0000 |
commit | a1e27bc3fad9a142448ee46edf35e612b741d453 (patch) | |
tree | f9b39d506e860bae93cd662ea6263b20c2f240b4 /lib/puppet/autoload.rb | |
parent | 0bd3055d29f9ee7785a8664360b89fc015a83a4e (diff) | |
download | puppet-a1e27bc3fad9a142448ee46edf35e612b741d453.tar.gz puppet-a1e27bc3fad9a142448ee46edf35e612b741d453.tar.xz puppet-a1e27bc3fad9a142448ee46edf35e612b741d453.zip |
Adding trace information to autoload.rb
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1658 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/autoload.rb')
-rw-r--r-- | lib/puppet/autoload.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/autoload.rb b/lib/puppet/autoload.rb index 2604b3c91..c32863fe2 100644 --- a/lib/puppet/autoload.rb +++ b/lib/puppet/autoload.rb @@ -54,6 +54,9 @@ class Puppet::Autoload # of ruby are raising different errors on missing files. unless detail.to_s =~ /^no such file/i warn "Could not autoload %s: %s" % [name, detail] + if Puppet[:trace] + puts detail.backtrace + end end return false end |