Commit a2cc490d by Jose Antonio

Merge branch 'segfault-handler' into develop

parents c4b1aca4 e3a66c6c
Showing with 9 additions and 0 deletions
......@@ -53,7 +53,15 @@ process.chdir(__dirname);
}
}
var sh;
try{
var SegfaultHandler = require('segfault-handler');
}catch(e){
console.log("No se ha podido cargar segfault-handler");
}
// Start server
sails.lift(rc('sails'));
SegfaultHandler.registerHandler("crash.log"); // With no argument, SegfaultHandler will generate a generic log file name
})();
......@@ -54,6 +54,7 @@
"eslint-plugin-react": "^5.1.1",
"mocha": "^2.4.5",
"node-inspector": "^0.12.8",
"segfault-handler": "^1.0.0",
"supertest": "^1.2.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment