You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/14 18:42:35 UTC

[GitHub] [airflow] ashb commented on pull request #17618: Fix redacting secrets in context exceptions.

ashb commented on pull request #17618:
URL: https://github.com/apache/airflow/pull/17618#issuecomment-898943488


   ```python
   try:
        try:
            raise Exception("user:pass")
        except Exception as e:
            # This is how you get an exception with a __cause__
            raise Exception("two") from e
    
   except Exception as e:
        err = e
   ```


-- 
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-unsubscribe@airflow.apache.org

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