mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 06:51:45 -04:00
Refactor Sentry tags for Android app info
This commit is contained in:
@@ -174,8 +174,8 @@ function MyApp(props: AppProps<PageProps>) {
|
||||
const appInfo = await App.getInfo().catch((e) => debug('Could not load Android app info:', e))
|
||||
const appVersion = appInfo?.version
|
||||
if (appVersion) {
|
||||
Sentry.setTag('android_version', appVersion)
|
||||
Sentry.setTag('android_build_number', appInfo?.build)
|
||||
Sentry.setTag('androidApp.version', appVersion)
|
||||
Sentry.setTag('androidApp.buildNumber', appInfo?.build)
|
||||
}
|
||||
}
|
||||
fetchAppInfo()
|
||||
|
||||
Reference in New Issue
Block a user