Log stack when available

This commit is contained in:
Kevin Sawicki 2016-05-24 09:51:09 -07:00
parent 48522d4b70
commit 74cde4e714

View file

@ -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
}
}