damog-feedbag 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedbag.rb +4 -1
- metadata +1 -1
data/lib/feedbag.rb
CHANGED
@@ -98,9 +98,12 @@ module Feedbag
|
|
98
98
|
$stderr.puts "Error ocurred with `#{url}': #{the_error}"
|
99
99
|
rescue SocketError => err
|
100
100
|
$stderr.puts "Socket error ocurred with: `#{url}': #{err}"
|
101
|
+
rescue => ex
|
102
|
+
$stderr.puts "#{ex.class} error ocurred with: `#{url}': #{ex.message}"
|
103
|
+
ensure
|
104
|
+
return $feeds
|
101
105
|
end
|
102
106
|
|
103
|
-
$feeds
|
104
107
|
end
|
105
108
|
|
106
109
|
def self.looks_like_feed?(url)
|