Closed mbukaiev closed 5 months ago
I consider this a bug because I've encountered this exception in production. This test only reproduces it. The problem is that after calling the ConnectAsync method, an unhandled exception in TaskScheduler appears, even if I handle the exception returned by the method. It seems like some non-awaited async void method or non-awaited task raised an exception during the execution of the ConnectAsync method.
I was confused earlier because of the stack trace and being on my phone.
When I looked again after getting to my computer, I saw the issue.
It's fixed now.
Which version of package can I try?
The latest CI build on myget.org
See the download links at the top of the README.md
After connection failed task unhandled exception raised in TaskScheduler. Don't forget to subscribe to TaskScheduler.UnobservedTaskException to reproduce the test
stack trace