From 1b78c3a73cb463a8f2ee1731f916b02fbe4c5d8e Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Mon, 12 Jul 2010 13:10:43 -0400 Subject: [PATCH] minor: reverted breaking change -- more debugging needed --- lib/mongo/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/connection.rb b/lib/mongo/connection.rb index ea03905..22a0cae 100644 --- a/lib/mongo/connection.rb +++ b/lib/mongo/connection.rb @@ -644,7 +644,7 @@ module Mongo raise Mongo::OperationFailure, "Query response returned CURSOR_NOT_FOUND. " + "Either an invalid cursor was specified, or the cursor may have timed out on the server." elsif flags & Mongo::Constants::REPLY_QUERY_FAILURE != 0 - raise Mongo::OperationFailure, "Query response returned QUERY_FAILURE." + # Getting odd failures when a exception is raised here. end end