Catches boto exceptions.