Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Edited Task: Stream Exception Improvement [2537]

$
0
0
Currently Stream throws an AggregatedException when the ExceptionHandler is not set to Swallow WebExceptions.
Improve this behavior to throw the expected TwitterException if possible.

Add an Event informing the user that an exception occured within the stream.

Update how the stream are called because it creates a new Thread and therefore new ExceptionHandler for this Thread.
When an event is raised and we check the ExceptionHandler it never contains any error.
The one that contains error is the one that have been injected during the construction, therefore it is executing in the Main Thread.

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>