mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
allow passing options to sentry
This commit is contained in:
parent
30bfae5b35
commit
f1abe1e03b
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue