Fix an incorrect console error

... this error is thrown when registering as guest or loading from
localstorage, not when using tokenparams.
pull/21833/head
Richard van der Hoff 2017-06-22 15:08:30 +01:00
parent 5d159c995d
commit fcd945afc2
1 changed files with 1 additions and 1 deletions

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) {