Log an error for unknown screens

pull/21833/head
Kegan Dougal 2015-11-20 14:26:49 +00:00
parent d46e42f8e7
commit 1a72cb56c6
1 changed files with 3 additions and 0 deletions

View File

@ -459,6 +459,9 @@ module.exports = {
}); });
} }
} }
else {
console.error("Unknown screen : %s", screen);
}
}, },
notifyNewScreen: function(screen) { notifyNewScreen: function(screen) {