[blam: 13/13] Ignore any feed with an exception
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam: 13/13] Ignore any feed with an exception
- Date: Tue, 14 Sep 2010 00:32:03 +0000 (UTC)
commit 8e7d6dacb57215bc1c69be5e3bffe59abd486005
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Tue Sep 14 01:31:19 2010 +0100
Ignore any feed with an exception
src/FeedUpdater.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/FeedUpdater.cs b/src/FeedUpdater.cs
index fef4273..7da817c 100644
--- a/src/FeedUpdater.cs
+++ b/src/FeedUpdater.cs
@@ -53,8 +53,8 @@ namespace Imendio.Blam {
}
System.Console.WriteLine("xml reader done");
feed = SyndicationFeed.Load(reader);
- } catch(XmlException e){
- System.Console.WriteLine("Xml Ex caught: {0}", e.Message);
+ } catch(Exception e){
+ System.Console.WriteLine("Ex caught: {0}", e.Message);
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]