Skip to content
New issue

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

Serialize Error-typed metadata argument #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

3 participants