christophd commented on code in PR #5245: URL: https://github.com/apache/camel-k/pull/5245#discussion_r1522849152
########## pkg/trait/error_handler.go: ########## @@ -67,6 +69,17 @@ func (t *errorHandlerTrait) Apply(e *Environment) error { t.addErrorHandlerDependencies(e, defaultErrorHandlerURI) } + if shouldHandleNoErrorHandler(e.Integration) { + // noErrorHandler is enabled by default on Kamelets since Camel 4.4.0 (runtimeVersion 3.8.0) + // need to disable this setting so that pipe error handler works + confValue, err := property.EncodePropertyFileEntry("camel.component.kamelet.noErrorHandler", "false") + if err != nil { + return err + } + + e.Integration.Spec.AddConfigurationProperty(confValue) Review Comment: sorry, can you please elaborate? I do not understand -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org