fix: sentry logger transport typo

This commit is contained in:
NGPixel 2018-02-24 16:13:49 -05:00
parent 1f2d42d34a
commit 37c28691ff

View File

@ -10,7 +10,7 @@ module.exports = {
title: 'Sentry', title: 'Sentry',
props: ['key'], props: ['key'],
init (logger, conf) { init (logger, conf) {
let SentryLogger = winston.transports.RollbarLogger = function (options) { let SentryLogger = winston.transports.SentryLogger = function (options) {
this.name = 'sentryLogger' this.name = 'sentryLogger'
this.level = options.level || 'warn' this.level = options.level || 'warn'
this.raven = require('raven') this.raven = require('raven')