mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-08 00:02:42 -04:00
wrong timeout class
This commit is contained in:
parent
11cec68952
commit
382139e0a5
@ -73,7 +73,7 @@ module HTTPX
|
|||||||
@ip_index -= 1
|
@ip_index -= 1
|
||||||
retry
|
retry
|
||||||
rescue Errno::ETIMEDOUT => e
|
rescue Errno::ETIMEDOUT => e
|
||||||
raise ConnectTimeout, e.message if @ip_index <= 0
|
raise ConnectTimeoutError, e.message if @ip_index <= 0
|
||||||
|
|
||||||
@ip_index -= 1
|
@ip_index -= 1
|
||||||
retry
|
retry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user