From ff408d4b1d05c1ce3b425f295ed9287e84985b8e Mon Sep 17 00:00:00 2001 From: Mike Meredith Date: Fri, 16 Jul 2021 18:24:16 -0400 Subject: [PATCH] return child message in executor on error --- executor/predictor/predictor_process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/predictor/predictor_process.go b/executor/predictor/predictor_process.go index e9d47dc787..842c6dbe73 100644 --- a/executor/predictor/predictor_process.go +++ b/executor/predictor/predictor_process.go @@ -372,7 +372,7 @@ func (p *PredictorProcess) Predict(node *v1.PredictiveUnit, msg payload.SeldonPa } cmsg, err := p.predictChildren(node, tmsg) if err != nil { - return tmsg, err + return cmsg, err } response, err := p.transformOutput(node, cmsg) // Log Response