From f9545acde6fc67a4ded8a620069a3df1fc007e66 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 27 Jun 2013 19:29:35 +0800 Subject: [PATCH] Show window before opening devtools. It may happen that an exception is thrown before window is shown. --- static/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/static/index.html b/static/index.html index a2f0a90ae..b3e3b809d 100644 --- a/static/index.html +++ b/static/index.html @@ -13,6 +13,7 @@ currentWindow.emit('window:loaded'); } catch (error) { + currentWindow.show(); currentWindow.openDevTools(); console.error(error.stack || error); }