Commit 48bad5d
authored
fix(cli): error message when early validation failures cannot be retrieved is unclear (#995)
Clarified error message for early validation failures in deployments.
The current error message is confusing: it can be taken to mean that the
CLI version is outdated, which is not the case.
It also mentions the CDK Toolkit stack version without any explanation -
it is not clear which version it is referring to.
I also believe that saying "with the latest version of the CLI" is
redundant - the error message will only appear in a sufficiently
up-to-date CLI.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license1 parent 191ed69 commit 48bad5d
File tree
2 files changed
+4
-2
lines changed- packages/@aws-cdk/toolkit-lib
- lib/api/deployments
- test/api/deployments
2 files changed
+4
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
| 808 | + | |
808 | 809 | | |
809 | 810 | | |
810 | 811 | | |
| |||
0 commit comments