Sfoglia il codice sorgente

don't exit on error

Henry Oswald 12 anni fa
parent
commit
5b49ec1144
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      services/filestore/app.coffee

+ 0 - 5
services/filestore/app.coffee

@@ -45,11 +45,6 @@ app.use (req, res, next) ->
 			statusCode: req.statusCode
 		err.domainEmitter.res = "to big to log"
 		logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
-		appIsOk = false
-		exit = ->
-			console.log "exit"
-			process.exit(1)
-		setTimeout exit, 20000
 	requestDomain.run next
 
 app.get  "/project/:project_id/file/:file_id", keyBuilder.userFileKey, fileController.getFile