I have a solid which triggers a job in DBT cloud, and then polls that run for its completion status and success status. What would be the best way to handle the dagster pipeline failing/stopping if the DBT job fails?
👀 1
o
owen
10/25/2021, 4:01 PM
I would add a condition within the polling loop that raises a dagster Failure event in the event that the dbt cloud response indicates that the dbt job has failed
a
Anaqi Afendi
10/25/2021, 4:07 PM
Thanks, This is exactly what I was looking for! There was a few different error/failure events that I was looking at but I wasn't sure which method to use.