mirror of https://github.com/vector-im/riot-web
Fix an incorrect console error
... this error is thrown when registering as guest or loading from localstorage, not when using tokenparams.pull/21833/head
parent
5d159c995d
commit
fcd945afc2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue