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 f4cd59a commit a9cd742Copy full SHA for a9cd742
packages/components/src/workers/parquetWorkerClient.ts
@@ -68,10 +68,10 @@ function getWorker() {
68
worker.onmessage = ({ data }: { data: ParquetMessage | SortParquetMessage }) => {
69
const pendingQueryAgent = pending.get(data.queryId)
70
if (!pendingQueryAgent) {
71
- throw new Error(
+ console.warn(
72
`Unexpected: no pending promise found for queryId: ${data.queryId.toString()}`,
73
)
74
- // TODO(SL): should never happen. But if it does, I'm not sure if throwing an error here helps.
+ return
75
}
76
if (pendingQueryAgent.kind === 'query') {
77
const { resolve, reject, onChunk } = pendingQueryAgent
0 commit comments