Simon Detheridge 6 лет назад
Родитель
Сommit
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)
   })
 }