We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56859e4 commit c862433Copy full SHA for c862433
packages/components/src/workers/parquetWorkerClient.ts
@@ -27,10 +27,10 @@ function getWorker() {
27
worker.onmessage = ({ data }: { data: ParquetMessage | SortParquetMessage }) => {
28
const pendingQueryAgent = pending.get(data.queryId)
29
if (!pendingQueryAgent) {
30
- throw new Error(
+ console.warn(
31
`Unexpected: no pending promise found for queryId: ${data.queryId.toString()}`,
32
)
33
- // TODO(SL): should never happen. But if it does, I'm not sure if throwing an error here helps.
+ return
34
}
35
if (pendingQueryAgent.kind === 'query') {
36
const { resolve, reject, onChunk } = pendingQueryAgent
0 commit comments