Print trace on error in webapp boilerplate

This commit is contained in:
David Greenspan
2016-02-05 10:18:01 -08:00
parent 6acaa57398
commit bd213e143b

View File

@@ -713,7 +713,7 @@ var runWebAppServer = function () {
try {
boilerplate = getBoilerplate(request, archKey);
} catch (e) {
Log.error("Error running template: " + e);
Log.error("Error running template: " + e.stack);
res.writeHead(500, headers);
res.end();
return undefined;