From 1c7411119654b71bf94964694868a52d57b03957 Mon Sep 17 00:00:00 2001 From: Joshua Nichols Date: Mon, 21 Aug 2006 02:05:02 +0000 Subject: Adding back blog rss parsing. Needs some work to account for all possible blog types / possible errors svn path=/; revision=58 --- projects/devdashboard/developer.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/devdashboard/developer.rb b/projects/devdashboard/developer.rb index 6dba1be..c5e0b5b 100644 --- a/projects/devdashboard/developer.rb +++ b/projects/devdashboard/developer.rb @@ -46,8 +46,9 @@ class Developer items = rss.items end end - # catch some errors that could occur - rescue SocketError, OpenURI::HTTPError, RSS::NotAvailableValueError + # catch some errors that could occur... + # TODO probably don't want to keep NoMethodError + rescue SocketError, OpenURI::HTTPError, RSS::NotAvailableValueError, NoMethodError end return items -- cgit v1.2.3-65-gdbad