An ATproto social media client -- with an independent Appview.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use logger.error instead of rethrow (#3323)

authored by

dan and committed by
GitHub
df7f9856 4d50aac4

+2 -4
+2 -4
src/lib/statsig/statsig.tsx
··· 8 8 useGate as useStatsigGate, 9 9 } from 'statsig-react-native-expo' 10 10 11 + import {logger} from '#/logger' 11 12 import {useSession} from '../../state/session' 12 13 import {LogEvents} from './events' 13 14 ··· 56 57 } 57 58 } catch (e) { 58 59 // A log should never interrupt the calling code, whatever happens. 59 - // Rethrow on a clean stack. 60 - setTimeout(() => { 61 - throw e 62 - }) 60 + logger.error('Failed to log an event', {message: e}) 63 61 } 64 62 } 65 63