You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context this is what it looks like in AWS CloudWatch when viewing the error log. Each console.error() statement causes a log entry. So each invocation of the default error handler causes three entries when the first and last are useless noise.
The default error handler calls
console.error()
(with no arguments) twice.koa/lib/application.js
Line 204 in 9ee6584
Unfortunately this causes some confusing noise in AWS Lambda + CloudWatch which shows these as "ERROR undefined" log entries
Would you consider a PR to do one of the following:
\n
inside the callconsole.error(msg.replace(/^/gm, ' '));
Thanks
The text was updated successfully, but these errors were encountered: