diff --git a/services/web/app/coffee/Features/FileStore/FileStoreHandler.coffee b/services/web/app/coffee/Features/FileStore/FileStoreHandler.coffee index 09790cf99f..eaf9c87554 100644 --- a/services/web/app/coffee/Features/FileStore/FileStoreHandler.coffee +++ b/services/web/app/coffee/Features/FileStore/FileStoreHandler.coffee @@ -43,6 +43,8 @@ module.exports = FileStoreHandler = uri: "#{@_buildUrl(project_id, file_id)}#{queryString}" timeout:fiveMinsInMs readStream = request(opts) + readStream.on "error", (err) -> + logger.err {err, project_id, file_id, query}, "error in file stream" callback(null, readStream) deleteFile: (project_id, file_id, callback)->