From a4f99c42240383532db7213e646036786198802e Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Tue, 23 Jun 2015 14:16:06 +0100 Subject: [PATCH] remove fairy from exception handler --- services/web/app.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/web/app.coffee b/services/web/app.coffee index efba66d4e4..a314885ccf 100644 --- a/services/web/app.coffee +++ b/services/web/app.coffee @@ -23,9 +23,6 @@ Server.app.use (error, req, res, next) -> res.end() if Settings.catchErrors - # fairy cleans then exits on an uncaughtError, but we don't want - # to exit so it doesn't need to do this. - require "fairy" process.removeAllListeners "uncaughtException" process.on "uncaughtException", (error) -> logger.error err: error, "uncaughtException"