From: Chocobozzz Date: Sat, 1 Oct 2016 10:01:47 +0000 (+0200) Subject: Server: remove segfault handler X-Git-Tag: v0.0.1-alpha~710 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13e2ab2566d1d2c366e1938b43e1a12aa11498c9;p=oweals%2Fpeertube.git Server: remove segfault handler --- diff --git a/package.json b/package.json index 821644368..27958dd43 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/server.js b/server.js index b8564d05a..ca275ccec 100644 --- 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)