Commit 13c7272
fix: include credential failure details
The Parameter Manager configuration error used a plain string with the exception placeholder left uninterpolated, so callers saw the literal placeholder instead of the default-credential exception that explained the failure. This interpolates the caught exception into the raised ValueError.
Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 9491909341 parent 4a84d8a commit 13c7272
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- src/google/adk/integrations/parameter_manager
- tests/unittests/integrations/parameter_manager
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
0 commit comments