Failed deployments using MDAPI don't output failure details #2141
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
Summary
Certain types of deployment failures are just reported back to the user as "Failed" with no further detail. A specific example is a deployment failure due to lack of a dependency package version.
It seems like all flavors of
project deploy
are affected (ex.--metadata ApexClass
,-x package.xml
and just a straightproject deploy start
using source trackingSteps To Reproduce:
Then attempt to deploy your changes -- the example below use a package.xml deployment but the same result occurs if you use a
project deploy start
Here's the same with a straight source-tracked push:
If you run with the
--json
flag, you do get output:Expected result
I expected the root cause to be displayed: "The specified Package Version number does not exist for that Package: PatronPay, 57.9"
Actual result
CLI reports "Failed" with no further detail
System Information
The text was updated successfully, but these errors were encountered: