From 5e775e24fb18855d9a2a144071e66d3c16cab47c Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 12 Jun 2019 14:04:08 +0100 Subject: [PATCH] Console log more helpfully Appending objects to strings isn't really useful --- src/Lifecycle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lifecycle.js b/src/Lifecycle.js index 7c78b71f2b..195377fbe9 100644 --- a/src/Lifecycle.js +++ b/src/Lifecycle.js @@ -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; }); }