Commit 8edcb68
fix: Use try-finally to ensure temp backend cleanup
Refactor YNAB budget selection to use try-finally block, guaranteeing
temp_backend.clear_auth() is called even if an unexpected exception
occurs between login and the exception handler.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c5561f6 commit 8edcb68
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | 626 | | |
628 | 627 | | |
629 | 628 | | |
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | 632 | | |
637 | 633 | | |
638 | 634 | | |
| |||
648 | 644 | | |
649 | 645 | | |
650 | 646 | | |
651 | | - | |
652 | 647 | | |
653 | 648 | | |
654 | 649 | | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
655 | 653 | | |
656 | 654 | | |
657 | 655 | | |
| |||
0 commit comments