mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
add sentry logging
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Settings = require 'settings-sharelatex'
|
||||
logger = require 'logger-sharelatex'
|
||||
logger.initialize("spelling-sharelatex")
|
||||
if Settings.sentry?.dsn?
|
||||
logger.initializeErrorReporting(Settings.sentry.dsn)
|
||||
|
||||
SpellingAPIController = require './app/js/SpellingAPIController'
|
||||
express = require('express')
|
||||
Path = require("path")
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"express": "^4.12.1",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
||||
"lru-cache": "^4.0.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.3.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0",
|
||||
"mongojs": "1.3.0",
|
||||
"node-statsd": "0.0.3",
|
||||
"redis": "~0.8.4",
|
||||
|
||||
Reference in New Issue
Block a user