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

New Post: Events stop firing

$
0
0
@MartR

I have just had this in my mind. The ExceptionHandler is unique per Thread.
But the Stream are executed in a different thread and therefore when you will invoke the ExceptionHandler it will never contain any error.

In the meantime please deactivate the SwallowWebExceptions:
ExceptionHandler.SwallowWebExceptions = false;
You will receive AggregateException if any. At this point look into the InnerException and you will probably get a WebException or TwitterException.

Cheers,
Linvi

PS : I will work on improvements to manage Exceptions in streams

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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