Source commands do not display error information
See original GitHub issueSummary
In version 7.12.3 of the cli, when running sfdx force:source:deploy
or sfdx force:source:push
command and the execution fails, no error messages are shown.
Initially reported in VSCode extensions repo https://github.com/forcedotcom/salesforcedx-vscode/issues/1411#issuecomment-505218236
Steps To Reproduce:
- Run push or deploy on a project that has deploy errors e.g. Apex class with a reference to a method that does not exist.
- Deploy/push fails but no error messages are shown.
Expected result
When the command execution fails, I expect a table with the error details on it.
Actual result
Currently just getting Push failed.
message.
Additional information
As a work around, running the commands with --json
attribute on it does return the error information.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): 7.12.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version: Mac OS 10.13.6
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:34 (3 by maintainers)
Top Results From Across the Web
Scratch directory commands in windows RE for dism ...
Please provide commands to use scratch that do not display errors when running dism restorehealth. For the iso: esd:6. windows-10-general.
Read more >Powershell: How can I stop errors from being displayed in a ...
You have a couple of options. The easiest involve using the ErrorAction settings. -Erroraction is a universal parameter for all cmdlets.
Read more >How do I suppress error messages from cp?
To suppress error output in bash , append 2>/dev/null to the end of your command. This redirects filehandle 2 (STDERR) to /dev/null ....
Read more >Error Messages | Cypress Documentation
We found an error preparing your test file. This message means that Cypress encountered an error when compiling and/or bundling your test file....
Read more >The java Command - Oracle Help Center
In source-file mode, the java command can launch a class declared in a ... You'll get an error message if you use a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@clairebianchi Has the release been pushed out? I am on latest version “Updating CLI… already on latest version: 7.13.0-27dbcb37d3” But I am still facing this issue…
Our release was delayed last week due to an issue with the installer and then the holiday in the USA. The release went out this morning that should fix this issue the current version is 7.14.0