mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Better error reporting
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user