Server: remove segfault handler
authorChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 10:01:47 +0000 (12:01 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 10:01:47 +0000 (12:01 +0200)
package.json
server.js

index 8216443680691f872f19346319ded3af91f79c5e..27958dd43eafc51b24db27f6ebfe6c09ad7117bd 100644 (file)
@@ -60,7 +60,6 @@
     "request": "^2.57.0",
     "request-replay": "^1.0.2",
     "scripty": "^1.5.0",
-    "segfault-handler": "^1.0.0",
     "ursa": "^0.9.1",
     "webtorrent": "^0.96.0",
     "winston": "^2.1.1",
index b8564d05aaad5720d913098fe12fdf010400d521..ca275ccec5df51351636b28951381cede16e8b5a 100644 (file)
--- a/server.js
+++ b/server.js
@@ -65,9 +65,6 @@ app.use(expressValidator({
 
 // ----------- Views, routes and static files -----------
 
-// Catch sefaults
-require('segfault-handler').registerHandler()
-
 // API routes
 const apiRoute = '/api/' + constants.API_VERSION
 app.use(apiRoute, routes.api)