summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-21 02:05:02 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-21 02:05:02 +0000
commit1c7411119654b71bf94964694868a52d57b03957 (patch)
tree2807ab97d1fd91429f1f278d5127b291c4bab317
parentAdding back blog rss parsing. Needs some work to account for all possible blo... (diff)
downloadnichoj-1c7411119654b71bf94964694868a52d57b03957.tar.gz
nichoj-1c7411119654b71bf94964694868a52d57b03957.tar.bz2
nichoj-1c7411119654b71bf94964694868a52d57b03957.zip
Adding back blog rss parsing. Needs some work to account for all possible blog types / possible errors
svn path=/; revision=58
-rw-r--r--projects/devdashboard/developer.rb5
1 files 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