mirror of
https://github.com/atom/atom.git
synced 2026-01-21 21:07:55 -05:00
Show window before opening devtools.
It may happen that an exception is thrown before window is shown.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
currentWindow.emit('window:loaded');
|
||||
}
|
||||
catch (error) {
|
||||
currentWindow.show();
|
||||
currentWindow.openDevTools();
|
||||
console.error(error.stack || error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user