Commit 7fee7ee
feat: detect CAPTCHA_REQUIRED in mobile and portal login handlers
Plain-requests login paths (no TLS impersonation) get fingerprinted by
Cloudflare and receive a CAPTCHA_REQUIRED response. Previously this was
swallowed into the generic "login failed: {raw dict}" message. Now it
raises a clear GarminConnectConnectionError that falls through to the
next strategy, with a readable log line instead of a dict dump.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent dce19b2 commit 7fee7ee
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
437 | 443 | | |
438 | 444 | | |
439 | 445 | | |
| |||
761 | 767 | | |
762 | 768 | | |
763 | 769 | | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
764 | 776 | | |
765 | 777 | | |
766 | 778 | | |
| |||
0 commit comments