lib/yogi_berra/catcher.rb in yogi_berra-0.0.13 vs lib/yogi_berra/catcher.rb in yogi_berra-0.0.14

- old
+ new

@@ -69,10 +69,10 @@ @@connection = client[database] if @@connection && username && password begin @@connection.authenticate(username, password) rescue - YogiBerra::Logger.log("Couldn't authenticate with user #{user} to mongo database on host: #{host} port: #{port} database: #{database}.", :warn) + YogiBerra::Logger.log("Couldn't authenticate with user #{username} to mongo database on host: #{host} port: #{port} database: #{database}.", :warn) end end else YogiBerra::Logger.log("Couldn't connect to the mongo database on host: #{host} port: #{port}.", :error) end \ No newline at end of file