From bccfe551aa89bbbd5d6646143c696e351ca5d834 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Thu, 30 Nov 2023 15:23:41 -0700 Subject: [PATCH] switch default error mode to Propagate --- pkg/ottl/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ottl/parser.go b/pkg/ottl/parser.go index e432d457a6ed..61308972b56f 100644 --- a/pkg/ottl/parser.go +++ b/pkg/ottl/parser.go @@ -359,7 +359,7 @@ func WithLogicOperation[K any](logicOp LogicOperation) ConditionSequenceOption[K func NewConditionSequence[K any](conditions []*Condition[K], telemetrySettings component.TelemetrySettings, options ...ConditionSequenceOption[K]) ConditionSequence[K] { c := ConditionSequence[K]{ conditions: conditions, - errorMode: IgnoreError, + errorMode: PropagateError, telemetrySettings: telemetrySettings, logicOp: Or, }