Use sensible logging

pull/21833/head
Travis Ralston 2018-11-27 13:41:34 -07:00
parent 5600a9d02a
commit 015af7d771
1 changed files with 1 additions and 2 deletions

View File

@ -241,8 +241,7 @@ module.exports = React.createClass({
const url = new URL("https://" + serverName);
this._tryWellKnownDiscovery(url.hostname);
} catch (e) {
console.error("Problem parsing URL or unhandled error doing .well-known discovery");
console.error(e);
console.error("Problem parsing URL or unhandled error doing .well-known discovery:", e);
this.setState({discoveryError: _t("Failed to perform homeserver discovery")});
}
}