diff --git a/src/core/document.js b/src/core/document.js index 93b47543f..69524e480 100644 --- a/src/core/document.js +++ b/src/core/document.js @@ -595,6 +595,9 @@ var PDFDocument = (function PDFDocumentClosure() { try { infoDict = this.xref.trailer.get('Info'); } catch (err) { + if (err instanceof MissingDataException) { + throw err; + } info('The document information dictionary is invalid.'); } if (infoDict) {