Catch exceptions in ACTION and PRIVMSG