lib/puppet/indirector/facts/facter.rb in puppet-0.25.0 vs lib/puppet/indirector/facts/facter.rb in puppet-0.25.1
- old
+ new
@@ -27,10 +27,10 @@
begin
Puppet.info "Loading facts in %s" % [::File.basename(file.sub(".rb",''))]
Timeout::timeout(self.timeout) do
load file
end
- rescue => detail
+ rescue Exception => detail
Puppet.warning "Could not load fact file %s: %s" % [fqfile, detail]
end
end
end
end