[
https://issues.apache.org/jira/browse/CAMEL-23111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062173#comment-18062173
]
Bartosz Popiela commented on CAMEL-23111:
-----------------------------------------
Thanks for the fix [~davsclaus] . Wdyt about
[this|https://github.com/apache/camel/pull/21681] instead?
> camel-jbang - camel run - YAML parsing errors not published to OTEL
> -------------------------------------------------------------------
>
> Key: CAMEL-23111
> URL: https://issues.apache.org/jira/browse/CAMEL-23111
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.10.9, 4.14.5, 4.18.0
> Reporter: Bartosz Popiela
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.6, 4.18.1, 4.19.0
>
>
> When running Camel JBang, any YAML parsing errors are handled in
> {{picocli.CommandLine#handleUnhandled}} and printed to {{{}System.err{}}}. As
> a result, these exceptions are not captured by OTEL-compliant monitoring
> systems (e.g., Grafana).
> {code:java}
> - route:
> nodePrefixId: route-b8d
> from:
> uri: timer
> parameters:
> delay: "0"
> timerName: oneTimeTimer
> repeatCount: "1"
> steps:
> - log1:
> id: abc
> message: "${body}" {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)