Commit 4a6e60e
fix(widgets): display RuntimeError in widget output instead of swallowing
on_apply_button_clicked and on_down_button_clicked caught RuntimeError
with a bare `pass`, giving users no feedback when cluster operations
failed (e.g. K8s API unavailable, RBAC denial). Print the error message
to the widget output area so users can see what went wrong.
Fixes RHOAIENG-54733
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f1e880a commit 4a6e60e
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | | - | |
319 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| |||
0 commit comments