Fix bug where Functions Emulator does not print full error from trigger parsing. (#490)

This commit is contained in:
Lauren Long
2017-10-04 13:34:35 -07:00
committed by GitHub
parent 2768f03873
commit 02c0da12e1

View File

@@ -187,7 +187,7 @@ FunctionsEmulator.prototype.start = function(shellMode) {
}
}).catch(function(e) {
if (e) {
utils.logWarning(chalk.yellow('functions:') + ' Error from emulator. ' + e.stack);
utils.logWarning(chalk.yellow('functions:') + ' Error from emulator. ' + e);
}
return instance.stop();
});