Don't break the UI when something goes wrong
This commit is contained in:
parent
a969237dc0
commit
5f434cd31c
3 changed files with 28 additions and 16 deletions
|
@ -343,7 +343,10 @@ module.exports = React.createClass({
|
|||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
throw e;
|
||||
this.setState({
|
||||
findingHomeserver: false,
|
||||
discoveryError: _t("Unknown error discovering homeserver"),
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue