added sentry error reporting

This commit is contained in:
Brian Gough 2015-12-08 12:14:40 +00:00
parent 5c05d02840
commit 91a047ea7a
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,9 @@ logger = require 'logger-sharelatex'
logger.initialize("web-sharelatex")
logger.logger.serializers.user = require("./app/js/infrastructure/LoggerSerializers").user
logger.logger.serializers.project = require("./app/js/infrastructure/LoggerSerializers").project
if Settings.sentry?.dsn?
logger.initializeErrorReporting(Settings.sentry.dsn)
metrics = require("metrics-sharelatex")
metrics.initialize("web")
metrics.memory.monitor(logger)

View file

@ -27,7 +27,7 @@
"http-proxy": "^1.8.1",
"jade": "~1.3.1",
"ldapjs": "^0.7.1",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.0.0",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
"lynx": "0.1.1",
"marked": "^0.3.3",
"method-override": "^2.3.3",