You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Use sensible logging
This commit is contained in:
@@ -241,8 +241,7 @@ module.exports = React.createClass({
|
|||||||
const url = new URL("https://" + serverName);
|
const url = new URL("https://" + serverName);
|
||||||
this._tryWellKnownDiscovery(url.hostname);
|
this._tryWellKnownDiscovery(url.hostname);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Problem parsing URL or unhandled error doing .well-known discovery");
|
console.error("Problem parsing URL or unhandled error doing .well-known discovery:", e);
|
||||||
console.error(e);
|
|
||||||
this.setState({discoveryError: _t("Failed to perform homeserver discovery")});
|
this.setState({discoveryError: _t("Failed to perform homeserver discovery")});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user