Project

General

Profile

« Previous | Next » 

Revision 35e0fb89

Added by Marc Dequènes about 14 years ago

  • ID 35e0fb8910c14b6c4592d585243c0783b1e3f3d8

[fix] BotNet: handle UNIX Socket connect failure (EM.connect fails at once, not via the handler)

View differences:

bin/mapmaker_client
def start_work
contact_peer("MapMaker") do |conv|
@logger.info "Yo ! Conversation ready with MapMaker (#{conv.identifier}) !"
if conv
logger.info "Yo ! Conversation ready with MapMaker (#{conv.identifier}) !"
else
logger.error "Could not connect to MapMaker"
end
end
end
end

Also available in: Unified diff