tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

add 10% sample rate to sentry (#9182)

authored by samuel.fm and committed by GitHub ec8c36e6 84cae44c

Changed files
+3 -2
src
env
logger
sentry
setup
+2 -2
src/env/common.ts
··· 21 21 export const IS_TESTFLIGHT = ENV === 'testflight' 22 22 23 23 /** 24 - * Indicates whether the app is __DEV__ 24 + * Indicates whether the app is `__DEV__` 25 25 */ 26 26 export const IS_DEV = __DEV__ 27 27 28 28 /** 29 - * Indicates whether the app is __DEV__ or TestFlight 29 + * Indicates whether the app is `__DEV__` or TestFlight 30 30 */ 31 31 export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT 32 32
+1
src/logger/sentry/setup/index.ts
··· 29 29 * @see https://docs.sentry.io/platforms/react-native/configuration/options/#attach-stacktrace 30 30 */ 31 31 attachStacktrace: false, 32 + sampleRate: env.IS_INTERNAL ? 1.0 : 0.1, 32 33 })