mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Switched Sentry to use helper file for Ghost version
no issue
This commit is contained in:
parent
1acbe3e51a
commit
4f01bb34f9
@ -7,7 +7,7 @@ const expressNoop = function (req, res, next) {
|
||||
|
||||
if (sentryConfig && !sentryConfig.disabled) {
|
||||
const Sentry = require('@sentry/node');
|
||||
const version = require('../../package.json').version;
|
||||
const version = require('./lib/ghost-version').full;
|
||||
Sentry.init({
|
||||
dsn: sentryConfig.dsn,
|
||||
release: 'ghost@' + version
|
||||
|
Loading…
Reference in New Issue
Block a user