potiuk commented on issue #18077:
URL: https://github.com/apache/airflow/issues/18077#issuecomment-915052748


   I believe this is invalid. ``self.log.exception`` also shows exception 
information and you should see it in the log in this case 
https://docs.python.org/3/library/logging.html#logging.Logger.exception 
   
   ```
   try:
       raise Exception("exc message")
   except Exception:
       log.exception("test")
   test
   Traceback (most recent call last):
     File "<ipython-input-5-949bdc201447>", line 2, in <module>
       raise Exception("exc message")
   Exception: exc message
   ```
   
   


-- 
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: [email protected]

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


Reply via email to