mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
allow passing options to sentry
This commit is contained in:
@@ -7,9 +7,9 @@ module.exports = Logger =
|
||||
serializers: bunyan.stdSerializers
|
||||
return @
|
||||
|
||||
initializeErrorReporting: (sentry_dsn) ->
|
||||
initializeErrorReporting: (sentry_dsn, options) ->
|
||||
raven = require "raven"
|
||||
@raven = new raven.Client(sentry_dsn)
|
||||
@raven = new raven.Client(sentry_dsn, options)
|
||||
|
||||
info : ()->
|
||||
@logger.info.apply(@logger, arguments)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"type": "git",
|
||||
"url": "http://github.com/sharelatex/logger-sharelatex.git"
|
||||
},
|
||||
"version": "1.0.0",
|
||||
"version": "1.2.0",
|
||||
"dependencies": {
|
||||
"bunyan": "1.5.1",
|
||||
"coffee-script": "1.4.0",
|
||||
|
||||
Reference in New Issue
Block a user