Bat error handling