stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

Upload status error codes are not immediately obvious.

Open AndrewBarber opened this issue 1 year ago • 0 comments

Expected behavior

When uploading a theme using stencil push, stencil-cli should help the developer experience when reporting an error.

Actual behavior

The status code from the API is provided but does not help the developer diagnose the issue, eg.

not ok -- JobCompletionStatusCheckError: Job Failed

There was a problem saving your configuration settings. Double check edits and try again. (TR-4400)

Steps to reproduce behavior

An example would be to add a config.json value with a length of >64 characters, then use stencil-cli to upload the theme to a storefront.

Environment

Stencil-cli version stencil --version: All

Node version node -v: All

NPM version npm -v: All

OS: All

Notes

PR Incoming

AndrewBarber avatar Dec 17 '24 12:12 AndrewBarber