Skip to content
Snippets Groups Projects
Commit de26c1e5 authored by pavel's avatar pavel
Browse files

add connreset to network errors

parent bd80d921
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ module Geocoder ...@@ -286,7 +286,7 @@ module Geocoder
end end
rescue Timeout::Error rescue Timeout::Error
raise Geocoder::LookupTimeout raise Geocoder::LookupTimeout
rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH, Errno::ECONNRESET
raise Geocoder::NetworkError raise Geocoder::NetworkError
end 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