Author: gonzalo
Date: 2007-03-26 13:49:42 -0500 (Mon, 26 Mar 2007)
New Revision: 74987

Modified:
   trunk/monologue/ChangeLog
   trunk/monologue/worker/monologue-worker.cs
Log:
2007-03-26 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * worker/monologue-worker.cs: set the error statuif EndInvoke throws.



Modified: trunk/monologue/ChangeLog
===================================================================
--- trunk/monologue/ChangeLog   2007-03-26 18:15:45 UTC (rev 74986)
+++ trunk/monologue/ChangeLog   2007-03-26 18:49:42 UTC (rev 74987)
@@ -1,3 +1,8 @@
+2007-03-26 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * worker/monologue-worker.cs: set the error statuif EndInvoke throws.
+
+       
 2007-03-11  Rafael Teixeira <[EMAIL PROTECTED]>
        * worker/bloggers.xml: Switched to my blogger/blogspot feed, as I've 
found out how to extract an rss feed (instead 
        of the default atom one) to use here. My theSpoke blog is being 
deactivated.

Modified: trunk/monologue/worker/monologue-worker.cs
===================================================================
--- trunk/monologue/worker/monologue-worker.cs  2007-03-26 18:15:45 UTC (rev 
74986)
+++ trunk/monologue/worker/monologue-worker.cs  2007-03-26 18:49:42 UTC (rev 
74987)
@@ -94,7 +94,13 @@
        static void FeedDone (IAsyncResult ares)
        {
                AsyncResult a = (AsyncResult) ares;
-               ReadResult res = ((ReadDelegate) a.AsyncDelegate).EndInvoke 
(ares);
+               ReadResult res = null;
+               try {
+                       res = ((ReadDelegate) a.AsyncDelegate).EndInvoke (ares);
+               } catch {
+                       res = new ReadResult (UpdateStatus.Error);
+               }
+
                if (disable_load)
                        return;
                Blogger blogger = (Blogger) ares.AsyncState;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to