From 74cde4e714eea16a30cd32ca5e77c69a9b4e8210 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 24 May 2016 09:51:09 -0700 Subject: [PATCH] Log stack when available --- default_app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default_app/main.js b/default_app/main.js index e90c4667fb..58507c6900 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -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 } }