mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 08:30:44 +00:00
remove fairy from exception handler
This commit is contained in:
parent
893de9d8ac
commit
a4f99c4224
1 changed files with 0 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue