question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Source commands do not display error information

See original GitHub issue

Summary

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:

  1. 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.
  2. 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:34 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
martijnbrandse2commented, Jul 4, 2019

@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…

2reactions
clairebianchicommented, Jul 8, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found