We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winston-transport/index.js
Line 90 in 47babab
logger.error(new Error("msg")) result in error: undefined.
logger.error(new Error("msg"))
error: undefined
Error object stack and message is not enumerable, Object.assign will not copy non-enumerable property.
stack
message
Object.assign
Object.assign({}, new Error("msg")) // {}
The text was updated successfully, but these errors were encountered:
This will be fixed shortly by winston@3.2.0. See: winstonjs/winston#1562
winston@3.2.0
Sorry, something went wrong.
No branches or pull requests
winston-transport/index.js
Line 90 in 47babab
Problem
logger.error(new Error("msg"))
result inerror: undefined
.Root cause
Error object
stack
andmessage
is not enumerable,Object.assign
will not copy non-enumerable property.Reproduce
The text was updated successfully, but these errors were encountered: