Browse files

Properly print exception

  • Loading branch information...
1 parent 510a09d commit 9652d2b8e2148a91e47836019b7f14c7bd490693 @kriszyp committed Mar 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/app.js
View
2 lib/app.js
@@ -19,6 +19,6 @@ pinturaConfig.getDataModel = function(request){
}
// initialize the data model
require("perstore/model").initializeRoot(Package);
-process.on("uncaughtException", function(){
+process.on("uncaughtException", function(e){
console.log(e.stack);
});

0 comments on commit 9652d2b

Please sign in to comment.