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
|
serializers: bunyan.stdSerializers
|
||||||
return @
|
return @
|
||||||
|
|
||||||
initializeErrorReporting: (sentry_dsn) ->
|
initializeErrorReporting: (sentry_dsn, options) ->
|
||||||
raven = require "raven"
|
raven = require "raven"
|
||||||
@raven = new raven.Client(sentry_dsn)
|
@raven = new raven.Client(sentry_dsn, options)
|
||||||
|
|
||||||
info : ()->
|
info : ()->
|
||||||
@logger.info.apply(@logger, arguments)
|
@logger.info.apply(@logger, arguments)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "http://github.com/sharelatex/logger-sharelatex.git"
|
"url": "http://github.com/sharelatex/logger-sharelatex.git"
|
||||||
},
|
},
|
||||||
"version": "1.0.0",
|
"version": "1.2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bunyan": "1.5.1",
|
"bunyan": "1.5.1",
|
||||||
"coffee-script": "1.4.0",
|
"coffee-script": "1.4.0",
|
||||||
|
|
Loading…
Reference in a new issue