Comments (3)
As just an FYI, I quickly did this:
var commandResult = mongoDB.command( dbCommand );
writedump(commandResult);abort;
and in commandResult I did see a nice error from Mongo. So cfmongo should just grab that and rethrow it.
from cfmongodb.
This is the mod I made:
if(structKeyExists(commandResult, "errmsg")) throw(message=commandResult["errmsg"],detail=commandResult["assertion"]);
Although I don't know if assertion will always exist as a key.
from cfmongodb.
Done for both mapreduce and group. Message will contain the 'errmsg' key, and extendedinfo will contain all the information provided by the command result
from cfmongodb.
Related Issues (20)
- Handling of Mongo being down HOT 1
- Upgrade to 2.6.5 Java driver HOT 1
- $inc not working HOT 1
- Sorting not working on Railo? HOT 2
- split datatyping into separate functions... one for collection documents, and one for operational documents such as sort, exclude, etc HOT 1
- ns doesn't exist HOT 3
- Geo queries fails with maxDistance HOT 5
- Case inSensitivity in SearchBuilder like() and regex() HOT 4
- Support Aggregation Framework
- Integrate new MongoClient HOT 1
- Finish aggregate() HOT 2
- Proposed Change to Mongo.getDBCollection() To Support Using Multiple Databases HOT 2
- abnormal behavior with find operation HOT 1
- Inline mapReduce() currently not possible.
- problems importing to mongo from a query
- Issues with MongoDB 2.6 and CFMongoDB HOT 4
- DBCollection findOne is not passing through projection parameter HOT 2
- requiredReplicaSetName not supported as a MongoClientOption
- How can we use authentication in MongoDB 3.0???
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfmongodb.