Commit b82b263
fix: chain root cause in create_analytics_views() startup failure
Persist the init exception as _startup_error and use `raise ... from
self._startup_error` so callers get actionable context instead of a
generic RuntimeError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 33f4e7e commit b82b263
File tree
2 files changed
+12
-2
lines changed- src/google/adk/plugins
- tests/unittests/plugins
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1763 | 1763 | | |
1764 | 1764 | | |
1765 | 1765 | | |
| 1766 | + | |
1766 | 1767 | | |
1767 | 1768 | | |
1768 | 1769 | | |
| |||
2141 | 2142 | | |
2142 | 2143 | | |
2143 | 2144 | | |
2144 | | - | |
| 2145 | + | |
2145 | 2146 | | |
2146 | 2147 | | |
2147 | 2148 | | |
| |||
2196 | 2197 | | |
2197 | 2198 | | |
2198 | 2199 | | |
| 2200 | + | |
2199 | 2201 | | |
2200 | 2202 | | |
2201 | 2203 | | |
| |||
2224 | 2226 | | |
2225 | 2227 | | |
2226 | 2228 | | |
| 2229 | + | |
2227 | 2230 | | |
2228 | 2231 | | |
2229 | 2232 | | |
| |||
2247 | 2250 | | |
2248 | 2251 | | |
2249 | 2252 | | |
| 2253 | + | |
2250 | 2254 | | |
| 2255 | + | |
2251 | 2256 | | |
2252 | 2257 | | |
2253 | 2258 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4943 | 4943 | | |
4944 | 4944 | | |
4945 | 4945 | | |
4946 | | - | |
| 4946 | + | |
| 4947 | + | |
| 4948 | + | |
4947 | 4949 | | |
| 4950 | + | |
| 4951 | + | |
| 4952 | + | |
0 commit comments