From 1a72cb56c670d82804045a552a866205b5829be5 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 20 Nov 2015 14:26:49 +0000 Subject: [PATCH] Log an error for unknown screens --- src/controllers/pages/MatrixChat.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/pages/MatrixChat.js b/src/controllers/pages/MatrixChat.js index e31496afc0..66e359a711 100644 --- a/src/controllers/pages/MatrixChat.js +++ b/src/controllers/pages/MatrixChat.js @@ -459,6 +459,9 @@ module.exports = { }); } } + else { + console.error("Unknown screen : %s", screen); + } }, notifyNewScreen: function(screen) {