lib/garbageman/config.rb in garbageman-0.1.12 vs lib/garbageman/config.rb in garbageman-0.1.13
- old
+ new
@@ -8,10 +8,10 @@
def self.gc_yaml_file=(file); @@gc_yaml_file = file; end
def self.gc_config
begin
File.exists?(self.gc_yaml_file) ? YAML.load_file(self.gc_yaml_file) : nil
- rescue Errno::ENOENT => e
+ rescue Exception => e
nil
end
end
@@thin_config = nil