diff --git a/services/docstore/app/coffee/DocArchiveManager.coffee b/services/docstore/app/coffee/DocArchiveManager.coffee index 8a2c3a2958..a23c0fc384 100644 --- a/services/docstore/app/coffee/DocArchiveManager.coffee +++ b/services/docstore/app/coffee/DocArchiveManager.coffee @@ -68,7 +68,7 @@ module.exports = DocArchive = logger.err err:err, res:res, project_id:project_id, doc_id:doc_id, "something went wrong unarchiving doc from aws" return callback new Errors.NotFoundError("Error in S3 request") if !(lines instanceof Array) - logger.err err:err, res:res, project_id:project_id, doc_id:doc_id, "doc lines from aws are not in array format, likely not JSON parsable" + logger.err err:err, res:res, project_id:project_id, doc_id:doc_id, lines:lines, "doc lines from aws are not in array format, likely not JSON parsable" return callback(new Error("Error unpacking doc")) MongoManager.upsertIntoDocCollection project_id, doc_id.toString(), {lines}, (err) -> return callback(err) if err? @@ -90,4 +90,4 @@ module.exports = DocArchive = timeout: thirtySeconds json: content uri:"https://#{settings.docstore.s3.bucket}.s3.amazonaws.com/#{key}" - } \ No newline at end of file + }