guzru/winston-sentry

Latest code version is not deployed to NPM?

Closed this issue · 0 comments

Hi,

I've installed the library using NPM and while the version seems to be the latest (i.e. 0.0.4), the code is different than what I see in GitHub:

Installed lib code:

this._sentry.captureError(new Error(msg), extra, function(err) {

Code in GitHub:

this._sentry.captureError(msg, extra, function(err) {

Notice that in GitHub, a new Error object is not created on top of the passed message (which is ok in case an Error is passed)