Merge pull request #3094 from matrix-org/dbkr/console_log_more_betterer

Console log more helpfully
This commit is contained in:
David Baker 2019-06-12 14:40:45 +01:00 committed by GitHub
commit c425eb83ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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