strict
Treats all warnings as errors.
strict { … }
Description
The strict
operator takes a pipeline as an argument and treats all warnings
emitted by the execution of the pipeline as errors. This is useful when you want
to stop a pipeline on warnings or unexpected diagnostics.
Examples
Stop the pipeline on any warnings when sending logs
subscribe "log-feed"
strict {
to_google_cloud_logging …
}