mikenorthorp / gulp-shopify-upload

gulp plugin to watch and upload files to Shopify for use in theme editing
Other
40 stars 22 forks source link

Feature request - Retry on failure #23

Open apeckham opened 8 years ago

apeckham commented 8 years ago

The Shopify API is sometimes returning errors for me right now (gulp-shopify-upload 2.0.0):

[15:43:15] Error invalid upload request! /code/theme/snippets/xxxxx.liquid not uploaded to xxxxx.myshopify.com

The error object looks like this:

{ [Error: Errors returned from the Shopify API]
  type: 'ShopifyInvalidRequestError',
  message: 'Errors returned from the Shopify API',
  detail: 'Internal Server Error',
  raw: 
   { message: 'Errors returned from the Shopify API',
     detail: 'Internal Server Error' } }

Can gulp-shopify-upload retry when the Shopify API returns a temporary error? (I'm also seeing Error undefined! ShopifyCallLimitError.)

goldsteinr commented 8 years ago

+1