mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 04:15:58 +00:00
added sentry error reporting
This commit is contained in:
parent
5c05d02840
commit
91a047ea7a
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue