connect icon indicating copy to clipboard operation
connect copied to clipboard

Interpolation errors are not logged by benthos when it fails

Open mannharleen opened this issue 3 years ago • 0 comments

consider the below config:

  processors:
    - log:
        level: DEBUG
        message: '${! content() + meta() }'

The above will fail; meta().string() should be used instead.

Expected: benthos should log an error with the appropriate message Actual: Instead of logging an error, the log processor actually logs an empty msg, like below:

DEBU                                               @service=benthos label="" path=root.pipeline.processors.0

mannharleen avatar Aug 09 '22 00:08 mannharleen