you should set the status based on ``$event->getResultCode()`` instead