Better error reporting

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-04-05 14:07:52 -06:00
parent 9814d74c43
commit 19c030360c

View File

@@ -8,11 +8,10 @@
if ($bootstrapScript) require($bootstrapScript);
}
catch (error) {
$native.showDevTools()
console.error(error.stack)
$native.showDevTools();
console.error(error.stack || error);
}
}
</script>
</head>
<body>