guzru / winston-sentry

Sentry transport for winston logger for node js
MIT License
82 stars 37 forks source link

Latest code version is not deployed to NPM? #8

Closed shaharke closed 10 years ago

shaharke commented 11 years ago

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)