Skip to content

Commit 74cde4e

Browse files
committed
Log stack when available
1 parent 48522d4 commit 74cde4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

default_app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function loadApplicationPackage (packagePath) {
267267
Module._load(packagePath, module, true)
268268
} catch (e) {
269269
console.error('App threw an error during load')
270-
console.error(e)
270+
console.error(e.stack || e)
271271
throw e
272272
}
273273
}

0 commit comments

Comments
 (0)