[
https://issues.apache.org/jira/browse/CAMEL-23111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062043#comment-18062043
]
Claus Ibsen edited comment on CAMEL-23111 at 3/2/26 6:46 AM:
-------------------------------------------------------------
That is not the point - jbang is a development tool when you do camel run. For
production you can export.
Though if you can come with a suggestion what you like to improve.
was (Author: davsclaus):
That is not the point - jbang is a development tool
> 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
> Priority: Minor
>
> 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)