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.
This commit is contained in:
Jonas Jenwald 2026-07-07 12:03:44 +02:00
parent 18f9aa91b6
commit 0d5a7d8adc

View File

@ -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(() => {