Commit e1984f1
fix: re-throw WizardError without double-displaying
When a WizardError thrown inside the wizard loop was caught by
the outer catch block, it would call log.error + cancel again
before re-wrapping. Now WizardError instances are re-thrown
immediately to avoid duplicate output.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6fe3daf commit e1984f1
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
567 | 568 | | |
568 | 569 | | |
569 | 570 | | |
| |||
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
695 | 700 | | |
696 | 701 | | |
697 | 702 | | |
| |||
0 commit comments