I have a solid which triggers a job in DBT cloud, ...
# ask-community
a
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
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
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.