We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ee673 commit 2f79d10Copy full SHA for 2f79d10
clients/trieve-shopify-extension/app/processors/getProducts.ts
@@ -335,7 +335,11 @@ export async function sendChunksFromWebhook(
335
);
336
});
337
338
- let dataChunksResolved = await Promise.all(dataChunks);
+ try {
339
+ let dataChunksResolved = await Promise.all(dataChunks);
340
+ } catch (e) {
341
+ console.error(`Error getting chunks to send to Trieve: ${e}`);
342
+ }
343
344
for (const batch of chunk_to_size(dataChunksResolved, 120)) {
345
sendChunksToTrieve(batch, key, datasetId ?? "");
0 commit comments