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

661 | feat (cli query): improve error handling #673

Merged
merged 3 commits into from
Feb 13, 2022

Conversation

arcbjorn
Copy link
Contributor

@arcbjorn arcbjorn commented Feb 8, 2022

No description provided.

@arcbjorn arcbjorn requested a review from dOrgJelli as a code owner February 8, 2022 23:17
@arcbjorn arcbjorn changed the base branch from prealpha to prealpha-dev February 8, 2022 23:17
@arcbjorn arcbjorn linked an issue Feb 8, 2022 that may be closed by this pull request
Comment on lines 229 to 233

if (errors) {
process.exitCode = 1;
}
}
Copy link
Contributor

@Niraj-Kamdar Niraj-Kamdar Feb 10, 2022

Choose a reason for hiding this comment

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

Why another condition? We should add this after printing errors

Copy link
Contributor Author

@arcbjorn arcbjorn Feb 12, 2022

Choose a reason for hiding this comment

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

Yes, did some experimenting with types. Fixed now, thank you

@dOrgJelli dOrgJelli merged commit df58feb into prealpha-dev Feb 13, 2022
@dOrgJelli dOrgJelli deleted the 661-improve-w3-query-cli-error-handling branch February 2, 2023 15:36
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

Successfully merging this pull request may close these issues.

CLI: w3 query ... Should Return Non-Zero Error Code When Query Fails
3 participants