Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

even more errors to catch

  • Loading branch information...
commit 13c0d870516e1439658d167b403679dce76b8fd6 1 parent dfe5a94
@jhass authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/feedtosis/client.rb
View
2  lib/feedtosis/client.rb
@@ -59,7 +59,7 @@ def fetch
Feedtosis::Result.new(curl, feed)
rescue Curl::Err::GotNothingError
return nil
- rescue Curl::Err::ConnectionFailedError
+ rescue Curl::Err::ConnectionFailedError, Curl::Err::HostResolutionError
$stderr.puts "Feedtosis: Warning couldn't fetch #{@url}"
return nil
end
Please sign in to comment.
Something went wrong with that request. Please try again.