Remove debug output

This commit is contained in:
Victor Denisov 2016-06-06 22:44:12 -07:00
parent 7fc095725f
commit ff0962b1d3

View file

@ -454,7 +454,6 @@ insertBlock opts col docs = do
return $ map (valueAt "_id") docs' return $ map (valueAt "_id") docs'
else do else do
doc <- runCommand $ insertCommandDocument opts col docs' doc <- runCommand $ insertCommandDocument opts col docs'
liftIO $ putStrLn $ show doc
case (look "writeErrors" doc, look "writeConcernError" doc) of case (look "writeErrors" doc, look "writeConcernError" doc) of
(Nothing, Nothing) -> return $ map (valueAt "_id") docs' (Nothing, Nothing) -> return $ map (valueAt "_id") docs'
(Just err, Nothing) -> do (Just err, Nothing) -> do