Merge pull request #1130 from matrix-org/rav/log_fixes

Various logging cleanups
This commit is contained in:
Richard van der Hoff 2017-06-20 17:55:07 +01:00 committed by GitHub
commit 1cd152e5f7
3 changed files with 12 additions and 10 deletions

View file

@ -330,7 +330,7 @@ module.exports = React.createClass({
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
});
}).catch((e) => {
console.error("Unable to load session", e);
console.error(`Error attempting to load session from token params: ${e}`);
return false;
}).then((loadedSession) => {
if (!loadedSession) {