Commit 5abaa24
committed
Fix #905: Handle invalid Hardcover tokens gracefully
Treat 401 Unauthorized responses from Hardcover API as missing/invalid
tokens instead of raising generic exceptions. This prevents error logs
when users don't have valid Hardcover API tokens and ensures proper
handling via the existing MissingHardcoverToken exception flow.
The fix allows users without Hardcover tokens to sync their Kobo devices
without generating ERROR-level log entries, logging an informational
message instead.1 parent fa2f2f7 commit 5abaa24
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
529 | 532 | | |
530 | 533 | | |
531 | 534 | | |
| |||
0 commit comments