You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running an action triggered by a webhook. GGT in cli just crashes. Have done a search for "t.split" in repo and nothing appears.
Error:
An error occurred while communicating with Gadget
t.split is not a function
What did you expect to happen?
No response
Steps to reproduce
Update a product in shopify,
webhook triggers action to update products data from external API.
CLI in VScode crashes, no similar error in logs in web IDE.
Anything else?
Sorry wish i could be more helpful, the cli just crashes sometimes now. It only just started to happen, its likly to do with some code i just added.
I needed to add a polling check to shopify for the product media being finished processing before i could add the media ID to the product variant, perhaps my approach is causing the bug,
` let media = await getMediaById(shopifyClient, mediaId);
let count = 0;
while (media.node.fileStatus !== "READY" || count > 20) {
await delay(500);
media = await getMediaById(shopifyClient, mediaId);
count++;
logger.info(media, `MEDIA STATUS, amount of polls ${count}`);
}
`
The text was updated successfully, but these errors were encountered:
Error ID
c15196ef-a6de-427e-97e6-cbcedbe2ca3f
What happened?
Running an action triggered by a webhook. GGT in cli just crashes. Have done a search for "t.split" in repo and nothing appears.
Error:
An error occurred while communicating with Gadget
t.split is not a function
What did you expect to happen?
No response
Steps to reproduce
Update a product in shopify,
webhook triggers action to update products data from external API.
CLI in VScode crashes, no similar error in logs in web IDE.
Anything else?
Sorry wish i could be more helpful, the cli just crashes sometimes now. It only just started to happen, its likly to do with some code i just added.
I needed to add a polling check to shopify for the product media being finished processing before i could add the media ID to the product variant, perhaps my approach is causing the bug,
` let media = await getMediaById(shopifyClient, mediaId);
`
The text was updated successfully, but these errors were encountered: