Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log more information for authentication error #1013

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

iowk
Copy link
Contributor

@iowk iowk commented Dec 2, 2024

As reported in #1010, errors except 401 are not handled at post to /signin/complete. Thus the detailed information for the error is not logged.

This PR fixes it by changing how the error is identified. Now all HTTP response error codes except 409 (need 2FA) and 412 (need repair for non-2FA account) are handled and logged.

@AndreyNikiforov AndreyNikiforov merged commit f6ce3b4 into icloud-photos-downloader:master Dec 2, 2024
372 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants