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 skipOclifErrorHandling to errors thrown from SfCommand.catch #234

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

mdonnalley
Copy link
Contributor

Tell oclif to skip error handling for errors thrown from SfCommand.catch

Depends on oclif/core#642

@W-12615284@

@peternhale
Copy link
Collaborator

QA Notes:

before

sf org open -o xxxxxxx
Error (1): Parsing --target-org 
	No authorization information found for xxxxxxx.
See more help with --help
    NamedOrgNotFoundError: Parsing --target-org 
    	No authorization information found for xxxxxxx.
    See more help with --help
    Code: 1

after

./bin/run org open -o xxxxxx
Error (1): Parsing --target-org 
        No authorization information found for xxxxxx.
See more help with --help

@mdonnalley mdonnalley merged commit 82660ef into main Mar 1, 2023
@mdonnalley mdonnalley deleted the mdonnalley/skip-oclif-error-handling branch March 1, 2023 19:39
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.

None yet

3 participants