lib/yogi_berra/catcher.rb in yogi_berra-0.2.0 vs lib/yogi_berra/catcher.rb in yogi_berra-0.2.1

- old
+ new

@@ -14,10 +14,10 @@ File.open(YogiBerra.yogi_yml, 'r') do |f| yaml_file = YAML.load(f) YogiBerra.settings = yaml_file["#{environment}"] if yaml_file end rescue - YogiBerra::Logger.log("No such file: #{database_config}", :error) + YogiBerra::Logger.log("No such file: #{YogiBerra.yogi_yml}", :error) end YogiBerra.settings end def environment \ No newline at end of file