Răsfoiți Sursa

remove fairy from exception handler

Brian Gough 11 ani în urmă
părinte
comite
a4f99c4224
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  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"