Console log more helpfully

Appending objects to strings isn't really useful
This commit is contained in:
David Baker 2019-06-12 14:04:08 +01:00
parent acb5372b7c
commit 5e775e24fb

View file

@ -233,7 +233,7 @@ function _registerAsGuest(hsUrl, isUrl, defaultDeviceDisplayName) {
guest: true, guest: true,
}, true).then(() => true); }, true).then(() => true);
}, (err) => { }, (err) => {
console.error("Failed to register as guest: " + err + " " + err.data); console.error("Failed to register as guest", err);
return false; return false;
}); });
} }