dcnstrct says Timeout::Error is the constant we probably mean
This commit is contained in:
parent
f8e8686537
commit
70d594ff5c
|
@ -37,7 +37,7 @@ if RUBY_VERSION.to_f < 1.9
|
||||||
if IO.select([@io], nil, nil, @read_timeout)
|
if IO.select([@io], nil, nil, @read_timeout)
|
||||||
@rbuf << @io.read_nonblock(65536)
|
@rbuf << @io.read_nonblock(65536)
|
||||||
else
|
else
|
||||||
raise Timeout::TimeoutError
|
raise Timeout::Error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue