Simon Detheridge пре 6 година
родитељ
комит
ffd002dc76
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/filestore/app/js/FileController.js

+ 1 - 0
services/filestore/app/js/FileController.js

@@ -62,6 +62,7 @@ function getFile(req, res, next) {
 
     logger.log({ key, bucket, format, style }, 'sending file to response')
 
+    // pass 'next' as a callback to 'pipeline' to receive any errors
     pipeline(fileStream, res, next)
   })
 }