mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
tweak(phone): tweaked env handling to expose package.json version for sentry
This commit is contained in:
1 parent
dce079222a
commit
8461c1acd2
3 files changed
+2
-3
No files matched your search
@@ -6,7 +6,6 @@ npwd_temp
|
|||||||
resources/html
|
resources/html
|
||||||
|
|
||||||
phone/.eslintcache
|
phone/.eslintcache
|
||||||
phone/.env
|
|
||||||
|
|
||||||
# Node Modules and Built Folders
|
# Node Modules and Built Folders
|
||||||
node_modules
|
node_modules
|
||||||
@@ -26,4 +25,3 @@ sv_npwd.log
|
|||||||
|
|
||||||
# FXServer Yarn
|
# FXServer Yarn
|
||||||
.yarn.installed
|
.yarn.installed
|
||||||
phone/.env
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
REACT_APP_VERSION=$npm_package_version
|
||||||
+1
-1
@@ -20,7 +20,7 @@ if (PhoneConfig.SentryErrorMetrics && process.env.NODE_ENV !== 'development') {
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: 'https://[email protected]/2',
|
dsn: 'https://[email protected]/2',
|
||||||
autoSessionTracking: true,
|
autoSessionTracking: true,
|
||||||
release: process.env.REACT_APP_SENTRY_RELEASE || '0.0.0',
|
release: process.env.REACT_APP_VERSION,
|
||||||
integrations: [new Integrations.BrowserTracing()],
|
integrations: [new Integrations.BrowserTracing()],
|
||||||
// We recommend adjusting this value in production, or using tracesSampler
|
// We recommend adjusting this value in production, or using tracesSampler
|
||||||
// for finer control
|
// for finer control
|
||||||
|
|||||||
Reference in new issue
Block a user