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

sfdx "force:package:beta:version:create:report" does not print errors #1779

Closed
higgspa opened this issue Oct 31, 2022 · 4 comments
Closed

sfdx "force:package:beta:version:create:report" does not print errors #1779

higgspa opened this issue Oct 31, 2022 · 4 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@higgspa
Copy link

higgspa commented Oct 31, 2022

Summary

When running the new command "force:package:beta:version:create:report" on a failed build it only logs a "Status: Error" without logging the actual errors that caused it to fail. I tried increasing the --loglevel settings but they did not work. Luckily switching back to the old command "sfdx force:package:version:create:report" still printed the errors.

Steps To Reproduce:

  1. Run "sfdx force:package:beta:version:create --package" on a package that has known errors
  2. Run "sfdx force:package:beta:version:create:report" on the built package and notice the status is Error but it does not print any of the reasons or errors.
  3. Run the older command "sfdx force:package:version:create:report" on the same package id and it will display the actual errors.

Expected result

A failed package build "Status: Error" should display the errors that caused the build to fail.

Actual result

No errors are logged.

NOTE: When running the new "sfdx force:package:beta:version:create:report" command it still recommends running the old status command "sfdx force:package:version:create:report" instead of the new beta command "sfdx force:package:beta:version:create:repor"

@higgspa higgspa added the investigating We're actively investigating this issue label Oct 31, 2022
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@WillieRuemmele
Copy link
Member

Thanks for testing out the beta @higgspa we really appreciate it and will fix this bug 😄

@WillieRuemmele WillieRuemmele added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels Oct 31, 2022
@git2gus
Copy link

git2gus bot commented Oct 31, 2022

This issue has been linked to a new work item: W-11983124

@iowillhoit
Copy link
Contributor

This has been released in today's latest build 7.181.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants