Allow debugging of unhandled login errors
This commit is contained in:
parent
b1af4ec9fd
commit
665e052596
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ export default React.createClass({
|
||||||
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
|
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
|
||||||
});
|
});
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
console.error(`Error attempting to load session: ${e}`);
|
console.error('Error attempting to load session', e);
|
||||||
return false;
|
return false;
|
||||||
}).then((loadedSession) => {
|
}).then((loadedSession) => {
|
||||||
if (!loadedSession) {
|
if (!loadedSession) {
|
||||||
|
|
Loading…
Reference in a new issue