ephraimbuddy commented on issue #32158:
URL: https://github.com/apache/airflow/issues/32158#issuecomment-1620052480

   > I just tested it on main branch, the tasks have the state `success`.
   > 
   > However, I have the callback exception in the task log, and from Airflow 
documentation:
   > 
   > > Callback functions are executed after tasks are completed. Errors in 
callback functions will show up in scheduler logs rather than task logs. By 
default, scheduler logs do not show up in the UI and instead can be found in 
$AIRFLOW_HOME/logs/scheduler/latest/PROJECT/DAG_FILE.py.log
   > 
   > So there is a bug which need to be fixed.
   > 
   > @potiuk do you have an idea which one we should fix, the documentation or 
the callback error handling?
   
   Hmm, same thing I got and I feel there's nothing to fix. When you have task 
level callbacks, you will see the execution log in both the task log and dag 
parsing logs. But when you have DAG level callback, you only see the logs in 
dag parsing.
   
   @patgarz , I can't get the error below using your DAG:
   ```
   ERROR - Failed to execute job 14 for task wait ('functools.partial' object 
has no attribute '__module__'; 786)
   ```
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to