adding error handling for bot-caused errors. don't want alerts caused by these errors