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

fix: add failed message on error requests #184

Merged
merged 1 commit into from
Jul 5, 2023
Merged

Conversation

Jayk5
Copy link
Collaborator

@Jayk5 Jayk5 commented Jul 5, 2023

In its current implementation, mix-cli does not stop the "spinner" upon hitting an error with the backend. This leads to a situation where a full error message is given to the user (error message, error code and "try this") followed by a line that says something similar to "Retrieve projects for organization 99999... Done".

That last line is misleading. Explicitly stopping the spinner when the error happens will fix this.

This solves #182.

@Jayk5 Jayk5 requested a review from grof July 5, 2023 14:06
@Jayk5 Jayk5 linked an issue Jul 5, 2023 that may be closed by this pull request
@grof grof added the bug Something isn't working label Jul 5, 2023
Copy link
Collaborator

@grof grof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I added a description to the issue for completeness.

@grof grof merged commit 02cf308 into beta Jul 5, 2023
3 checks passed
@grof grof deleted the fixErrorRequestMessages branch July 5, 2023 17:50
@grof
Copy link
Collaborator

grof commented Jul 14, 2023

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@grof grof added the released label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ambiguous response on error requests
2 participants