From a17bf153828676af6a7c181da531dc4e2574f16e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 2 Mar 2016 02:08:18 -0800 Subject: [PATCH] update UI after errors --- main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/index.js b/main/index.js index 3b86e37a..5e7bd055 100644 --- a/main/index.js +++ b/main/index.js @@ -56,7 +56,6 @@ function init () { init() function update () { - console.log('update') var newVDom = App(state, handler) var patches = diff(currentVDom, newVDom) rootElement = patch(rootElement, patches) @@ -195,6 +194,7 @@ function closePlayer () { function onError (err) { console.error(err.stack) window.alert(err.message || err) + update() } function onWarning (err) {