Unclear error message when a configuration is not present for a project #29742
Labels
area: @angular-devkit/architect
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
This is a similar issue as reported in #29226.
When running a target, if a configuration isn't present, an error message is presented, as seen in the node architect host here. This is helpful, but especially when dealing with complex nested projects, the error message is not very helpful, as the project/target in question is not indicated.
This can be improved by changing that line as follows:
Minimal Reproduction
Attempt to run any comment for a project:target with a configuration that does not exist. The project and target are not indicated in the error message.
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: