guzru / winston-sentry

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

Instantiating a new Error object is unnecessary and destroys actual stacktrace. #6

Closed zeekay closed 11 years ago

zeekay commented 11 years ago

It's still safe to call log.error('some string') as the raven client handles non-Error objects appropriately.

guzru commented 11 years ago

Thanks for your contribution!