fix(query/control): handle flux errors from the table iterator in the controller (#14715)
parent
99cebbbdc1
commit
b35552721c
|
@ -809,6 +809,7 @@ type errorCollectingTableIterator struct {
|
||||||
func (ti *errorCollectingTableIterator) Do(f func(t flux.Table) error) error {
|
func (ti *errorCollectingTableIterator) Do(f func(t flux.Table) error) error {
|
||||||
err := ti.TableIterator.Do(f)
|
err := ti.TableIterator.Do(f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
err = handleFluxError(err)
|
||||||
ti.q.addRuntimeError(err)
|
ti.q.addRuntimeError(err)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue