Fix an incorrect console error

... this error is thrown when registering as guest or loading from
localstorage, not when using tokenparams.
This commit is contained in:
Richard van der Hoff 2017-06-22 15:08:30 +01:00
parent 5d159c995d
commit fcd945afc2

View file

@ -330,7 +330,7 @@ module.exports = React.createClass({
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
});
}).catch((e) => {
console.error(`Error attempting to load session from token params: ${e}`);
console.error(`Error attempting to load session: ${e}`);
return false;
}).then((loadedSession) => {
if (!loadedSession) {