minor: logger bug fix (bernerdschaefer)

This commit is contained in:
Kyle Banker 2010-07-21 15:27:29 -04:00
parent 969ec6f644
commit e3c1b1eafe
1 changed files with 3 additions and 1 deletions

View File

@ -604,8 +604,10 @@ module Mongo
@nodes_tried << node
if config
update_node_list(config['hosts']) if config['hosts']
if @logger
@logger.warn(config['msg']) if config['msg']
end
end
socket.close if socket
end