do not send failures to parent

It is enough for us to investigate these locally
This commit is contained in:
v4hn 2018-09-23 16:55:32 +02:00 committed by Robert Haschke
parent 932497ce6d
commit 73b35ef2bf

View File

@ -173,7 +173,7 @@ void StagePrivate::newSolution(const SolutionBasePtr& solution)
for (const auto& cb : solution_cbs_)
cb(*solution);
if (parent())
if (parent() && !solution->isFailure())
parent()->onNewSolution(*solution);
}