Open yetithefoot opened 9 years ago
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);
Yes please! Or some other workaround I would appreciate.
Using the latest winston should fix this.
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.