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
@ -544,6 +544,7 @@ class WorkerMessageHandler {
|
|||||||
},
|
},
|
||||||
reason => {
|
reason => {
|
||||||
finishWorkerTask(task);
|
finishWorkerTask(task);
|
||||||
|
throw reason;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user