Revision db48611e
Added by Marc Dequènes about 14 years ago
- ID db48611e708034c3ef77c09a673b32ac9233663c
lib/cyborghood/cyborg.rb | ||
---|---|---|
logger.info "Bot starting"
|
||
EventMachine.run do
|
||
start_work
|
||
try_stop
|
||
end
|
||
rescue EventMachine::ConnectionNotBound
|
||
logger.fatal "Internal error (EventMachine::ConnectionNotBound)"
|
Also available in: Unified diff
[fix] do not try to stop the bot by default