Skip to content
  • Sean Griffin's avatar
    ecc3a22b
    Call fallback exception handlers with the right exception · ecc3a22b
    Sean Griffin authored
    The issue presented in #26246 showed a deeper underlying problem. When
    we fell back to the exception handler for an exceptions cause, we were
    calling that handler with the outer raised exception. This breaks the
    calling code's expectations, especially if the exception has methods on
    it behond those from `StandardError`.
    ecc3a22b
    Call fallback exception handlers with the right exception
    Sean Griffin authored
    The issue presented in #26246 showed a deeper underlying problem. When
    we fell back to the exception handler for an exceptions cause, we were
    calling that handler with the outer raised exception. This breaks the
    calling code's expectations, especially if the exception has methods on
    it behond those from `StandardError`.
Loading