mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Log stack when available
This commit is contained in:
@@ -267,7 +267,7 @@ function loadApplicationPackage (packagePath) {
|
||||
Module._load(packagePath, module, true)
|
||||
} catch (e) {
|
||||
console.error('App threw an error during load')
|
||||
console.error(e)
|
||||
console.error(e.stack || e)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user