Commit 37c28691 authored by NGPixel's avatar NGPixel

fix: sentry logger transport typo

parent 1f2d42d3
...@@ -10,7 +10,7 @@ module.exports = { ...@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment