mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Ensure that "GetAnnotations" errors are propagated to the main-thread (PR 15267 follow-up)
With the changes in PR 15267 we're now accidentally swallowing "GetAnnotations" errors, rather than propagating them to the main-thread as intended.
This commit is contained in:
parent
0fca6e187c
commit
14b0e8c0b6
1 changed files with 1 additions and 0 deletions
|
@ -544,6 +544,7 @@ class WorkerMessageHandler {
|
|||
},
|
||||
reason => {
|
||||
finishWorkerTask(task);
|
||||
throw reason;
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue