wrong timeout class

This commit is contained in:
HoneyryderChuck 2020-04-18 01:48:38 +01:00
parent 11cec68952
commit 382139e0a5

View File

@ -73,7 +73,7 @@ module HTTPX
@ip_index -= 1
retry
rescue Errno::ETIMEDOUT => e
raise ConnectTimeout, e.message if @ip_index <= 0
raise ConnectTimeoutError, e.message if @ip_index <= 0
@ip_index -= 1
retry