minor: logger bug fix (bernerdschaefer)
This commit is contained in:
parent
969ec6f644
commit
e3c1b1eafe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue