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

[BUILD-964] fix: Handle read timeout by showing message #1068

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

RisingOrange
Copy link
Collaborator

@RisingOrange RisingOrange commented Jan 8, 2025

When there is a read timeout when communicating with AnkiHub, we are currently opening the error dialog.
We should handle this exception better by showing a non-disruptive message instead.

Related issues

https://ankihub.atlassian.net/jira/software/c/projects/BUILD/boards/1?selectedIssue=BUILD-964

Slack discussion: https://theanking.slack.com/archives/C07V3QBKZ2N/p1736354496219589?thread_ts=1736353994.016319&cid=C07V3QBKZ2N

User reports: https://community.ankihub.net/t/sync-bug-sync-01-07/374936

Proposed changes

  • Handle requests.ReadTimeout by showing message instead of error dialog

@RisingOrange RisingOrange changed the title fix: Handle read timeout by showing message [BUILD-964] fix: Handle read timeout by showing message Jan 8, 2025
@RisingOrange RisingOrange requested a review from a team January 8, 2025 20:18
@RisingOrange RisingOrange merged commit e80c6a7 into main Jan 8, 2025
7 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