1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Allow debugging of unhandled login errors

This commit is contained in:
Luke Barnard
2018-04-26 15:09:17 +01:00
parent b1af4ec9fd
commit 665e052596

View File

@@ -352,7 +352,7 @@ export default React.createClass({
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
});
}).catch((e) => {
console.error(`Error attempting to load session: ${e}`);
console.error('Error attempting to load session', e);
return false;
}).then((loadedSession) => {
if (!loadedSession) {