mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix sentry initialisation
This commit is contained in:
parent
009f8a3eae
commit
5c8291a8da
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
logger = require "logger-sharelatex"
|
||||
logger.initialize("real-time-sharelatex")
|
||||
if Settings.sentry?.dsn?
|
||||
logger.initializeErrorReporting(Settings.sentry.dsn)
|
||||
|
||||
express = require("express")
|
||||
session = require("express-session")
|
||||
redis = require("redis-sharelatex")
|
||||
Settings = require "settings-sharelatex"
|
||||
if Settings.sentry?.dsn?
|
||||
logger.initializeErrorReporting(Settings.sentry.dsn)
|
||||
|
||||
sessionRedisClient = redis.createClient(Settings.redis.websessions)
|
||||
|
||||
|
|
Loading…
Reference in a new issue