mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Switched Sentry to use helper file for Ghost version
no issue
This commit is contained in:
parent
1acbe3e51a
commit
4f01bb34f9
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ const expressNoop = function (req, res, next) {
|
||||||
|
|
||||||
if (sentryConfig && !sentryConfig.disabled) {
|
if (sentryConfig && !sentryConfig.disabled) {
|
||||||
const Sentry = require('@sentry/node');
|
const Sentry = require('@sentry/node');
|
||||||
const version = require('../../package.json').version;
|
const version = require('./lib/ghost-version').full;
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: sentryConfig.dsn,
|
dsn: sentryConfig.dsn,
|
||||||
release: 'ghost@' + version
|
release: 'ghost@' + version
|
||||||
|
|
Loading…
Reference in a new issue