Hi there, I am trying to figure out why the pipeli...
# ask-community
m
Hi there, I am trying to figure out why the pipeline output shows as "success" when there was an error in one of the steps (ie.
process_datavalues
). I want the output to be failure for the step and pipeline if there is any error - I can't see how to enforce this? Here is a screenshot from a run as an example:
d
Hi Megan - the op needs to raise an Exception (or a Failure: https://docs.dagster.io/concepts/ops-jobs-graphs/op-events#failures) in order to count as a failed step for the purpose of failing the whole run - I don't think we have a built-in way to express that any logged error should fail the step
👍 1