Merge pull request #11834 from xelan/feature/preserve-error-types

Preserve error types during translation
This commit is contained in:
Tim van der Meij 2020-04-28 23:47:24 +02:00 committed by GitHub
commit b6f69d47b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -823,7 +823,7 @@ const PDFViewerApplication = {
return loadingErrorMessage.then(msg => {
this.error(msg, { message });
throw new Error(msg);
throw exception;
});
}
);