fix: Level: Error Event (type=error) captured as promise rejection

This commit is contained in:
Ramesh Mane
2026-01-15 12:09:22 +00:00
parent 748c4870df
commit 4bc271c511

View File

@@ -196,7 +196,9 @@ export function useDataFetch({
clearCache(Math.max(0, start - BUFFER_SIZE), Math.min(totalRows.value, end + BUFFER_SIZE))
debouncedFetchChunks(chunksToFetch, firstChunkId)
debouncedFetchChunks(chunksToFetch, firstChunkId).catch((error) => {
console.error('Error fetching chunks:', error)
})
}
const rafId = ref<number | null>(null)