From 4f01bb34f9cd7fe06b31f31e4fc2867f520bf4ec Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 26 Mar 2020 15:35:46 +0000 Subject: [PATCH] Switched Sentry to use helper file for Ghost version no issue --- core/server/sentry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/sentry.js b/core/server/sentry.js index 219f10627e..7772c17441 100644 --- a/core/server/sentry.js +++ b/core/server/sentry.js @@ -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