NameError for Irc::Bot::TimeoutError
Opened this issue · 0 comments
henk84 commented
Line 963 in 3ace72d
I’m getting an error in my logs mentioning this line:
/home/irc-bot-marvin/rundir/rbot/lib/rbot/ircbot.rb:963:in `rescue in mainloop': uninitialized constant Irc::Bot::TimeoutError (NameError)
rescue Errno::ETIMEDOUT, Errno::ECONNABORTED, TimeoutError, SocketError => e
^^^^^^^^^^^^
from /home/irc-bot-marvin/rundir/rbot/lib/rbot/ircbot.rb:935:in `mainloop'
from /home/irc-bot-marvin/rundir/rbot/bin/rbot:123:in `<top (required)>'
from /home/irc-bot-marvin/rundir/rbot/launch_here.rb:68:in `load'
from /home/irc-bot-marvin/rundir/rbot/launch_here.rb:68:in `<main>'
/home/irc-bot-marvin/rundir/rbot/lib/rbot/ircbot.rb:685:in `block in initialize': ServerError (ServerError)
from /home/irc-bot-marvin/rundir/rbot/lib/rbot/rfc2812.rb:1527:in `handle'
from /home/irc-bot-marvin/rundir/rbot/lib/rbot/rfc2812.rb:1513:in `process'
from /home/irc-bot-marvin/rundir/rbot/lib/rbot/ircbot.rb:949:in `mainloop'
from /home/irc-bot-marvin/rundir/rbot/bin/rbot:123:in `<top (required)>'
from /home/irc-bot-marvin/rundir/rbot/launch_here.rb:68:in `load'
from /home/irc-bot-marvin/rundir/rbot/launch_here.rb:68:in `<main>'
I think this might be trivial to fix for someone who knows the codebase or at least knows their way around ruby code but not for me. I have no idea where this constant might come from or what to use instead.