ChristianYeah opened a new issue #9209:
URL: https://github.com/apache/airflow/issues/9209


   airflow: 1.10.10
   
   I searched google for marking a single dag run as failed if some task logic 
doesn't meet with a particular condition.
   
   for example, if task A requests the URL, the expected result should be 
error_code == 0.
   Now I manually do something like ```print(1/0)``` to raise the exception if 
I get error_code 1.
   
   Is that possible to manually mark the dag_run as failed internally? 
   
   Thank you very much


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to