mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #11834 from xelan/feature/preserve-error-types
Preserve error types during translation
This commit is contained in:
commit
b6f69d47b6
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ const PDFViewerApplication = {
|
|||
|
||||
return loadingErrorMessage.then(msg => {
|
||||
this.error(msg, { message });
|
||||
throw new Error(msg);
|
||||
throw exception;
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue