Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload status error codes are not immediately obvious. #1246

Open
AndrewBarber opened this issue Dec 17, 2024 · 0 comments
Open

Upload status error codes are not immediately obvious. #1246

AndrewBarber opened this issue Dec 17, 2024 · 0 comments

Comments

@AndrewBarber
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant