You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, and happy new year! I think that I have found a bug in the ToObservable extension method for async-enumerable sequences. In case an exception is thrown by the GetAsyncEnumerator invocation, the exception is not propagated by the OnError mechanism of the produced observable, and instead it is rethrown as an unhandled exception that crashes the process. Here is a minimal demonstration of this behavior:
Hi, and happy new year! I think that I have found a bug in the
ToObservable
extension method for async-enumerable sequences. In case an exception is thrown by theGetAsyncEnumerator
invocation, the exception is not propagated by theOnError
mechanism of the produced observable, and instead it is rethrown as an unhandled exception that crashes the process. Here is a minimal demonstration of this behavior:Expected behavior: The error message is printed in the console.
Actual behavior: Unhandled exception.
Try it on Fiddle.
The text was updated successfully, but these errors were encountered: