remove explicit sentry release number

use environment variable SENTRY_RELEASE instead
This commit is contained in:
Brian Gough 2015-12-08 10:44:26 +00:00
parent 6483233f48
commit c51d249221

View file

@ -3,7 +3,7 @@ logger = require "logger-sharelatex"
logger.initialize("track-changes")
if Settings.sentry?.dsn?
logger.initializeErrorReporting(Settings.sentry.dsn, {release: process.env.BUILD_NUMBER})
logger.initializeErrorReporting(Settings.sentry.dsn)
Path = require "path"
Metrics = require "metrics-sharelatex"