LOG.error("Unexpteced failure while while updating heartbeat for execution {}.", e, ex); Unexpteced -> Unexpected