errors pop up console

This commit is contained in:
Corey Johnson
2011-09-22 11:07:58 -07:00
parent 67728f2b7b
commit 16eef1cf07

View File

@@ -67,6 +67,11 @@
</body>
<script>
window.onerror = function(message, url, lineNumber) {
// Any error will popup the console
WindowController.webView.inspector.showConsole(1);
}
require('startup');
</script>