mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-13 00:16:17 +02:00
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:
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…
x
Reference in New Issue
Block a user