From 6f980cfe10d32ddc276b737df42005ef7cf4cd96 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Wed, 8 Mar 2017 10:46:17 -0800 Subject: Add more informative message --- app/scripts/popup-core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/scripts/popup-core.js') diff --git a/app/scripts/popup-core.js b/app/scripts/popup-core.js index ae8539a30..e093d06f4 100644 --- a/app/scripts/popup-core.js +++ b/app/scripts/popup-core.js @@ -49,12 +49,14 @@ function setupControllerConnection (connectionStream, cb) { } function setupApp (err, accountManager) { + var container = document.getElementById('app-content') if (err) { + container.innerHTML = '
The MetaMask app failed to load: please restart MetaMask
' + container.style.height = '80px' log.error(err.stack) throw err } - var container = document.getElementById('app-content') MetaMaskUi({ container: container, -- cgit