deal with ES parse exceptions in a sane way