remove fairy from exception handler

This commit is contained in:
Brian Gough 2015-06-23 14:16:06 +01:00
parent 893de9d8ac
commit a4f99c4224

View file

@ -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"