allow passing options to sentry

This commit is contained in:
Brian Gough
2015-12-08 10:30:18 +00:00
parent 30bfae5b35
commit f1abe1e03b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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",