minor: reverted breaking change -- more debugging needed

This commit is contained in:
Kyle Banker 2010-07-12 13:10:43 -04:00
parent 265f074f10
commit 1b78c3a73c
1 changed files with 1 additions and 1 deletions

View File

@ -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