Various logging cleanups
* don't just log errors without any context as to where they came from or what they mean * avoid the use of '%s' and multi-argument console.log because it looks awful under karma.
This commit is contained in:
parent
6de48d628f
commit
cd73139af5
3 changed files with 12 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue