github-actions[bot] opened a new pull request, #61795:
URL: https://github.com/apache/airflow/pull/61795

   * Fix recursion depth error in _redact_exception_with_context
   
   Fix recursion depth check in _redact_exception_with_context_or_cause.
   There are some obscure cases where exception might point to itself
   in cause/context - this PR protects against it.
   
   Changed name to include cause as well.
   
   Initially implemented as a fix to v2-11-test in #61254 - enhanced
   with the case of removal of too-deep exceptions rather than
   not-redacting it (and replacing it with sentinel exception explaining
   that reminder of the stack trace has been removed.
   
   Co-authored-by: Anton Nitochkin <[email protected]>
   
   * Apply suggestions from code review
   
   Co-authored-by: Copilot <[email protected]>
   
   ---------
   (cherry picked from commit 1533ecf96d314d8e17501d2189abf4245283abd8)
   
   Co-authored-by: Jarek Potiuk <[email protected]>
   Co-authored-by: Anton Nitochkin <[email protected]>
   Co-authored-by: Copilot <[email protected]>


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