Skip to content

Commit

Permalink
Merge pull request #11834 from xelan/feature/preserve-error-types
Browse files Browse the repository at this point in the history
Preserve error types during translation
  • Loading branch information
timvandermeij authored Apr 28, 2020
2 parents 8fb82e9 + f5fd24a commit b6f69d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ const PDFViewerApplication = {

return loadingErrorMessage.then(msg => {
this.error(msg, { message });
throw new Error(msg);
throw exception;
});
}
);
Expand Down

0 comments on commit b6f69d4

Please sign in to comment.