Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Oct 11, 2019

If the IS is unreachable, this handles the error by showing a warning
encouraging the user to check after their personal data and resolve the
situation, but still allows them to continue if they want.

2019-10-11 at 15 53

Fixes element-hq/element-web#10909

A few bits of Settings try to talk to the IS when Settings is opened. This changes them to handle failure by logging warnings to the console.
If the IS is unreachable, this handles the error by showing a warning encouraging the user to check after their personal data and resolve the situation, but still allows them to continue if they want. Fixes element-hq/element-web#10909
@jryans jryans requested a review from a team October 11, 2019 15:00
This adds a reachability timeout of 10s when checking the IS for 3PID bindings. This ensures we stop in a reasonable time, rather than waiting for a long list of requests to eventually timeout via some general mechanism. Part of element-hq/element-web#10909
@dbkr dbkr assigned dbkr and unassigned dbkr Oct 18, 2019
@dbkr dbkr requested review from dbkr and removed request for a team October 18, 2019 15:41
@bwindels bwindels requested review from bwindels and removed request for dbkr October 18, 2019 15:41
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jryans jryans merged commit 7ac14e4 into develop Oct 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants