Commit f7d8c0c
fix: don't dump login traceback at ERROR for expected failures
login() used logger.exception() before re-raising a clean exception,
so every expected failure (rate limit, Cloudflare 403/CAPTCHA, all
strategies exhausted) printed a full stack trace at ERROR level on top
of the meaningful exception the caller already receives.
Downgrade to logger.debug() without exc_info — the breadcrumb survives
in debug mode, but callers get only the clean raised exception.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f54b4df commit f7d8c0c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
686 | 688 | | |
687 | 689 | | |
688 | 690 | | |
| |||
718 | 720 | | |
719 | 721 | | |
720 | 722 | | |
721 | | - | |
| 723 | + | |
722 | 724 | | |
723 | 725 | | |
724 | 726 | | |
| |||
0 commit comments