Closed
Description
When using a cluster, if I get an error that has own properties, its stack trace is not logged.
Example:
const err = Error();
err["I am"] = "all alone";
logger.error(err);
// produces: "{ 'I am': 'all alone' }"
Looking at the code, it's clearly because of this condition.
There should be a way to serialize additional props along with the stack and message.
Metadata
Metadata
Assignees
Labels
No labels