| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@danielcweber any chance you could do a quick review? |
Sorry, something went wrong.
There was a problem hiding this comment.
The basic goal seems fine, but I've got one question: is this the only place in the entire library where this is an issue, do you know?
(I've mainly been focusing on Rx so far so I'm not familiar with Ix yet. I know we have a load of places in Rx where exceptions get caught. So it surprises me to see only one.)
Sorry, something went wrong.
|
We make extensive use of System.Reactive in our codebase and this is the only stacktrace issue we've seen. Thank you for the review - I'll work through the comments tomorrow! |
Sorry, something went wrong.
|
@idg10 I believe all comments are resolved now |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hi
This PR fixes an issue where stacktraces of exceptions are lost in ToAsyncEnumerable. See the added test - before this PR, the ThrowsException method isn't mentioned in the stacktrace at all. The stacktrace only contained System.Reactive internals. This PR uses ExceptionDispatchInfo to capture the stacktrace of active exceptions (i.e. those that have been raised).
Many thanks