mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
errors pop up console
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user