Skip to content

Commit

Permalink
Removed debugging code. Simplified.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongreenlee committed Dec 17, 2010
1 parent adcf002 commit 6b7c7c4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/Mongo.cfc
Expand Up @@ -62,13 +62,7 @@
*/
function getLastError()
{
try {
local.error = getMongoDB().getLastError();
} catch (any e) {
writeDump(var=e,output='c:\web\debug.log');
}

return local.error;
return getMongoDB().getLastError();
}
/**
* For simple mongo _id searches, use findById(), like so:
Expand Down

0 comments on commit 6b7c7c4

Please sign in to comment.