Skip to content

Commit 9d4acff

Browse files
committed
Add release to sentry
1 parent 23c7989 commit 9d4acff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/renderer/_default.page.client.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ import 'config/i18n'
88

99
import App from 'App'
1010

11+
import packageJson from '../../package.json'
12+
1113
import type { PageContextClient } from './types'
1214

1315
import './base.css'
1416

1517
Sentry.init({
1618
dsn: 'https://5482f948da1641368a1bfc825448b956@o552270.ingest.sentry.io/4504917691662336',
1719
integrations: [new BrowserTracing()],
18-
tracesSampleRate: 1.0
20+
tracesSampleRate: 1.0,
21+
release: `${packageJson.version}`
1922
})
2023

2124
async function render (pageContext: PageContextClient): Promise<void> {

0 commit comments

Comments
 (0)