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

host: Add specific handling for login errors #1001

Merged
merged 9 commits into from
Jan 30, 2024
Merged

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Jan 27, 2024

This looks for a 429, which should show a different error than about credentials, and optionally includes the cooldown if returned as retry_after_ms.

Unknown error types are printed with an “unknown” marker.

Boxel 2024-01-29 19-03-46

I’m submitting this for a review despite a lint error, I’m puzzled because I changed the type…? But I‘ll fix it before merging.

This looks for a 429, which should show a different error
than about credentials. Unknown error types are exposed.
Copy link

github-actions bot commented Jan 27, 2024

Test Results

494 tests  +3   490 ✔️ +3   7m 0s ⏱️ +25s
    1 suites ±0       4 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit 56919e5. ± Comparison against base commit 24ead8b.

♻️ This comment has been updated with latest results.

@backspace backspace marked this pull request as ready for review January 30, 2024 01:29
@backspace backspace requested a review from a team January 30, 2024 01:31
@backspace backspace merged commit eeed549 into main Jan 30, 2024
18 checks passed
@delete-merged-branch delete-merged-branch bot deleted the host/matrix-429-cs-6517 branch January 30, 2024 16:49
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