From 2140507b59adb87353835f5a285da81edfdf8fa2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 23 Jan 2018 21:29:18 +0000 Subject: Adjust error message --- lib/docx/docx-reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/docx/docx-reader.js b/lib/docx/docx-reader.js index f0b6c89..8423782 100644 --- a/lib/docx/docx-reader.js +++ b/lib/docx/docx-reader.js @@ -75,7 +75,7 @@ function read(docxFile, input) { }); }); } else { - throw new Error("Could not find word/document.xml in ZIP file. Are you sure this is a valid .docx file?"); + throw new Error("Could not find main document part. Are you sure this is a valid .docx file?"); } }); } -- cgit v1.2.3