salesforcedx-vscode: When I "deploy this source to org" and the deploy fails it no longer shows the errors in the panel.

Summary

When I “deploy this source to org” and the deploy fails it no longer shows the errors in the panel.

Steps To Reproduce:

  1. Deploy an apex class to a salesforce org using VS code with an error in the class
  2. View the output panel e.g. https://www.dropbox.com/s/629htz6fzq6s9g8/Screenshot 2019-06-19 11.13.59.png?dl=0

Expected result

Starting SFDX: Deploy Source to Org

11:08:31.439 sfdx force:source:deploy --sourcepath /Users/chris/Code/XeroAPI/force-app/main/default/classes/SaveXeroReponseData.cls --json --loglevel fatal
11:08:39.548 sfdx force:source:deploy --sourcepath /Users/chris/Code/XeroAPI/force-app/main/default/classes/SaveXeroReponseData.cls --json --loglevel fatal ended with exit code 1

Method does not exist or incorrect signature: void new(GLxero__XeroInvoice__c) from the type GLxero.InvoiceLockManager

Actual result

Starting SFDX: Deploy Source to Org

11:08:31.439 sfdx force:source:deploy --sourcepath /Users/chris/Code/XeroAPI/force-app/main/default/classes/SaveXeroReponseData.cls --json --loglevel fatal
11:08:39.548 sfdx force:source:deploy --sourcepath /Users/chris/Code/XeroAPI/force-app/main/default/classes/SaveXeroReponseData.cls --json --loglevel fatal ended with exit code 1

DeployFailed: Deploy failed.

Additional information

Feel free to attach a screenshot.

VS Code Version:

Version 1.35.1 (1.35.1)

SFDX CLI Version:

sfdx-cli/7.11.2-4a5bf6aa97 darwin-x64 node-v10.15.3

OS and version:

macOS High Sierra Version 10.13.6

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 8
  • Comments: 19 (5 by maintainers)

Most upvoted comments

This issue is fixed in 7.12.3 of the toolbelt. Just run sfdx update…

@gussamer I resolved by changing the following setting to true: image

No worries, just wanted to confirm that at least we didn’t miss something when using --json. We’re working on the fix for the other scenario and we’ll update on its progress in this new issue https://github.com/forcedotcom/cli/issues/123