From f1282179fb2aa880b2dccfafef7c4a72abae9ed6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 26 May 2020 14:58:09 +0200 Subject: [PATCH] add logging when we fail to join a room --- src/stores/RoomViewStore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/RoomViewStore.js b/src/stores/RoomViewStore.js index 3d82d086d7..7fa1ef639f 100644 --- a/src/stores/RoomViewStore.js +++ b/src/stores/RoomViewStore.js @@ -272,6 +272,7 @@ class RoomViewStore extends Store { err: err, }); let msg = err.message ? err.message : JSON.stringify(err); + console.log("Failed to join room:", msg); // XXX: We are relying on the error message returned by browsers here. // This isn't great, but it does generalize the error being shown to users. if (msg && msg.startsWith("CORS request rejected")) {