From 3066458eedfd5953389a073cb6497f0f84920e1d Mon Sep 17 00:00:00 2001 From: John Wood Date: Thu, 11 Mar 2010 14:22:40 -0600 Subject: [PATCH] Provide a description of the timeout error --- lib/couchrest/monkeypatches.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchrest/monkeypatches.rb b/lib/couchrest/monkeypatches.rb index 95c52c3..c48ac7c 100644 --- a/lib/couchrest/monkeypatches.rb +++ b/lib/couchrest/monkeypatches.rb @@ -39,7 +39,7 @@ if RUBY_VERSION.to_f < 1.9 if IO.select([@io], nil, nil, @read_timeout) retry else - raise Timeout::Error + raise Timeout::Error, "IO timeout" end end else