From 0d5a7d8adcb21318eedbc8929839d3881ba58b8d Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 7 Jul 2026 12:03:44 +0200 Subject: [PATCH] Remove TODO-comments in the "GetOperatorList" and "GetTextContent" handlers Any errors are already propagated via the stream-sinks, since these handlers use `ReadableStream`, and as mentioned in the TODO-comments re-throwing errors will lead to "spam" in the console; hence let's just remove them. --- src/core/worker.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/worker.js b/src/core/worker.js index 5ed1400d5..82297eca0 100644 --- a/src/core/worker.js +++ b/src/core/worker.js @@ -929,9 +929,6 @@ class WorkerMessageHandler { return; // ignoring errors from the terminated thread } sink.error(reason); - - // TODO: Should `reason` be re-thrown here (currently that casues - // "Uncaught exception: ..." messages in the console)? } ) .finally(() => { @@ -974,9 +971,6 @@ class WorkerMessageHandler { return; // ignoring errors from the terminated thread } sink.error(reason); - - // TODO: Should `reason` be re-thrown here (currently that casues - // "Uncaught exception: ..." messages in the console)? } ) .finally(() => {