Commit 00100ff
fix(1560): add more explicit errors on get cv (#1787)
On-behalf-of: SAP <[email protected]>
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
Users complain about confusing error messages in `get cv`.
Errors that are related to technical problems, like missing docker
binaries or other things, are not properly communicated and hidden by a
generic `invalid component reference` message.
This PR logs more details in case of technical errors.
#### Which issue(s) this PR is related to
Fixes: #1560
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Matthias Bruns <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gerald Morrison <[email protected]>
Co-authored-by: GitHub Actions Bot <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: souleb <[email protected]>
Co-authored-by: Uwe Krueger <[email protected]>1 parent e98265f commit 00100ff
File tree
3 files changed
+16
-2
lines changed- api/credentials/internal
- cmds/ocm/commands/ocmcmds/common/handlers/comphdlr
3 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
| 170 | + | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
| 175 | + | |
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
| |||
174 | 182 | | |
175 | 183 | | |
176 | 184 | | |
177 | | - | |
| 185 | + | |
178 | 186 | | |
179 | 187 | | |
180 | 188 | | |
| |||
0 commit comments