Log stack when available
This commit is contained in:
parent
48522d4b70
commit
74cde4e714
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue