iiroj/lambda-dev

console.log with "%s" doesn't print webpack stack trace

mxrlkn opened this issue · 2 comments

Having %s in the console.log removes the webpack stack trace if there is any. Removing the %s makes it work while the log formatting remains the same (as far as I can tell).

Why %s doesn't work, I don't know. Can it be removed or fixed?

For example here:

`${prefix} ${chalk.red("Function invocation failed:")} %s`,

iiroj commented

Thanks for the bug report. I can't see any reason to keep the %s so might as well remove it!

iiroj commented

I just released 9091061 with v1.5.9.