Skip to content

Commit

Permalink
chore: remove sentry bootstrap environment (#10979)
Browse files Browse the repository at this point in the history
* use newer function for instantiating tracing

* remove bootstrap sentry env
  • Loading branch information
brainbicycle authored Oct 21, 2024
1 parent 14a5de4 commit e32d812
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion index-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if (__DEV__) {
} catch {}
}

require("./src/app/system/errorReporting/setupSentry").setupSentry({ environment: "bootstrap" })
import "react-native-url-polyfill/auto"
const { AppRegistry } = require("react-native")

Expand Down
2 changes: 1 addition & 1 deletion src/app/system/errorReporting/setupSentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function setupSentry(props: SetupSentryProps = { debug: false }) {
tracesSampleRate: props.debug ? 1.0 : 0.1,
debug: props.debug,
integrations: [
new Sentry.ReactNativeTracing({
Sentry.reactNativeTracingIntegration({
routingInstrumentation,
beforeNavigate: (context: TransactionContext) => {
/**
Expand Down

0 comments on commit e32d812

Please sign in to comment.