|
|
@ -613,7 +613,7 @@ var PDFDoc = (function pdfDoc() { |
|
|
|
messageHandler.on('page_error', function pdfDocError(data) { |
|
|
|
messageHandler.on('page_error', function pdfDocError(data) { |
|
|
|
var page = this.pageCache[data.pageNum]; |
|
|
|
var page = this.pageCache[data.pageNum]; |
|
|
|
if (page.errorback) |
|
|
|
if (page.errorback) |
|
|
|
page.errorback(data.error) |
|
|
|
page.errorback(data.error); |
|
|
|
else |
|
|
|
else |
|
|
|
throw data.error; |
|
|
|
throw data.error; |
|
|
|
}, this); |
|
|
|
}, this); |
|
|
|