minor: reverted breaking change -- more debugging needed
This commit is contained in:
parent
265f074f10
commit
1b78c3a73c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue