Skip to content
Snippets Groups Projects
Commit 1ad22e8e authored by Alex Reisner's avatar Alex Reisner Committed by GitHub
Browse files

Merge pull request #1190 from ahorek/connreset

add connreset to network errors
parents bd80d921 de26c1e5
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ module Geocoder
end
rescue Timeout::Error
raise Geocoder::LookupTimeout
rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH
rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH, Errno::ECONNRESET
raise Geocoder::NetworkError
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment