bragma / winston-azure-application-insights

Azure Application Insights transport for Winston
MIT License
16 stars 26 forks source link

pass meta on exception #4

Closed jeffmcaffer closed 7 years ago

jeffmcaffer commented 7 years ago

The current code eats the supplied meta object in trackExecption cases. This change tweaks handling to preserve the meta object (if supplied) and pass it as an AppInsights "properties" object.

jeffmcaffer commented 7 years ago

note I did this against the 'devel' branch as that has the changes for my other PR and they are in the same area of the code