diff --git a/core/Mongo.cfc b/core/Mongo.cfc index cd795a9..d8d96b5 100644 --- a/core/Mongo.cfc +++ b/core/Mongo.cfc @@ -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: