Permalink
Browse files

Don't fail silently when a string is thrown.

I'm looking at you, node-mongodb-native. ಠ_ಠ
  • Loading branch information...
mbostock committed Jan 18, 2012
1 parent 795b00b commit 3c364537e3befd4fe90dcf65dac250d567f92623
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/cube/server/server.js
  2. +1 −1 package.json
@@ -7,6 +7,7 @@ var util = require("util"),
// Don't crash on errors.
process.on("uncaughtException", function(error) {
+ util.log("uncaught exception: " + error);
util.log(error.stack);
});
View
@@ -9,7 +9,7 @@
"main": "./lib/cube",
"dependencies": {
"d3": "2.7.2",
- "mongodb": "0.9.7-1.3",
+ "mongodb": "0.9.8-1",
"pegjs": "0.6.2",
"vows": "0.5.11",
"websocket": "1.0.2",

0 comments on commit 3c36453

Please sign in to comment.