We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cddb5ea commit 09a4352Copy full SHA for 09a4352
src/worker.js
@@ -145,12 +145,12 @@ var WorkerMessageHandler = {
145
loadDocumentPromise.reject(e);
146
};
147
148
- pdfManager.ensureModel('checkHeader', []).then(function() {
149
- pdfManager.ensureModel('parseStartXRef', []).then(function() {
150
- pdfManager.ensureModel('parse', [recoveryMode]).then(
151
- parseSuccess, parseFailure);
152
- });
153
+ pdfManager.ensureModel('checkHeader', []).then(function() {
+ pdfManager.ensureModel('parseStartXRef', []).then(function() {
+ pdfManager.ensureModel('parse', [recoveryMode]).then(
+ parseSuccess, parseFailure);
+ }, parseFailure);
154
155
return loadDocumentPromise;
156
}
0 commit comments