Commit 3299db8
fix: preserve GarminConnectTooManyRequestsError through login exception handler
The bare except Exception block was catching and re-wrapping 429 errors
from client.login() as GarminConnectConnectionError, hiding the real type
from callers. Re-raise TooManyRequests and AuthenticationError directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 83da1cd commit 3299db8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
| 712 | + | |
| 713 | + | |
712 | 714 | | |
713 | | - | |
714 | | - | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| |||
0 commit comments