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

cleanup(react): improved error message throwed when executor is not available or not valid #23282

Merged
merged 3 commits into from
May 29, 2024

Conversation

aushwin
Copy link
Contributor

@aushwin aushwin commented May 9, 2024

The error message which is throwed when executer is not available or not valid is really confusing. Hence updating it to throw the exact issue why it errored.

Current Behavior

The error message throwed is really vauge. And does't really tell anything about why it happened.

Fixes #
Improved error message which is throwed when excuter is not valid or not present in the project.json
Screenshot 2024-05-10 at 1 17 05 AM

…vailable or not valid

The error message which is throwed when executer is not available or not valid is really confusing.
Hence updating it to throw the exact issue why it errored
@aushwin aushwin requested a review from a team as a code owner May 9, 2024 20:17
@aushwin aushwin requested a review from mandarini May 9, 2024 20:17
Copy link

vercel bot commented May 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview May 10, 2024 3:34am

@ndcunningham ndcunningham merged commit eb44f9b into nrwl:master May 29, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Jun 3, 2024
…vailable or not valid (#23282)

The error message which is throwed when executer is not available or not
valid is really confusing. Hence updating it to throw the exact issue
why it errored.

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
The error message throwed is really vauge. And does't really tell
anything about why it happened.

Fixes #
Improved error message which is throwed when excuter is not valid or not
present in the project.json
<img width="1421" alt="Screenshot 2024-05-10 at 1 17 05 AM"
src="https://github.com/nrwl/nx/assets/54993680/455163e4-3197-419c-b511-040c35784a72">

(cherry picked from commit eb44f9b)
Copy link

github-actions bot commented Jun 5, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants