patgarz commented on issue #25964: URL: https://github.com/apache/airflow/issues/25964#issuecomment-1229071544
Thanks for the reply! Maybe I'm misunderstanding though, but I think that's missing the crux of the issue --- the returned object *is* of an Exception type (`NameError`, to be specific, in our tests). I believe there's a separate issue in that maybe the operator we're using at the top of the thread is returning an exception of type `str`, but in our tests below, we can see explicitly that `context['exception']` is a `NameError` and still does not contain the data we'd expect. @potiuk unless you disagree, I believe this should be reopened? I'm happy to edit the top example since you are correct, if we attempt to read a `str` type `context['exception']` the top code should fail (and reading this a few days later I can see my description wasn't entirely clear), but the issue is different than that. -- 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]
