Kong / datakit

A dataflow engine for request manipulation and aggregation
Apache License 2.0
3 stars 2 forks source link

fix: send a default error response if any node fails #14

Closed hishamhm closed 5 months ago

hishamhm commented 6 months ago

Rather than ignoring failures, stop executing further nodes. (In the future, we will have error catching and handling, but for now it is better to stop the pipeline than to continue proxying silently with an incomplete execution.)

The default behavior is to trigger an error response. If debug tracing is enabled, the response error is not generated, so that the execution trace can be printed in the response body.