Skip to content

Conversation

@yetithefoot
Copy link

Serialize Error-typed metadata arguments more correctly to save meaningful fields.

I regularly pass an Error object as my meta object.
Code like this now will be more correctly saved to Loggly.

var err = new Error('This is error');
winston.error('Error happened', err);

Serialize Error-typed metadata arguments more correctly to save meaningful fields.
@ernoaapa
Copy link

ernoaapa commented Oct 6, 2015

Yes please! Or some other workaround I would appreciate.

@indexzero
Copy link
Member

Using the latest winston should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants