Procházet zdrojové kódy

remove fairy from exception handler

Brian Gough před 11 roky
rodič
revize
a4f99c4224
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0 3
      services/web/app.coffee

+ 0 - 3
services/web/app.coffee

@@ -23,9 +23,6 @@ Server.app.use (error, req, res, next) ->
 		res.end()
 		res.end()
 
 
 if Settings.catchErrors
 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.removeAllListeners "uncaughtException"
 	process.on "uncaughtException", (error) ->
 	process.on "uncaughtException", (error) ->
 		logger.error err: error, "uncaughtException"
 		logger.error err: error, "uncaughtException"