From 19c030360c5eda8e080989794904a13449a29663 Mon Sep 17 00:00:00 2001 From: Corey Johnson & Nathan Sobo Date: Thu, 5 Apr 2012 14:07:52 -0600 Subject: [PATCH] Better error reporting --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index a24dbfb57..cca81e569 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,10 @@ if ($bootstrapScript) require($bootstrapScript); } catch (error) { - $native.showDevTools() - console.error(error.stack) + $native.showDevTools(); + console.error(error.stack || error); } } -