Fix problem with exceptions in actions - failed to setFailed