[irc_bot] better error reporting