Skip to content

Commit

Permalink
console error ok, logger logs?
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman committed Sep 5, 2024
1 parent 204db68 commit 631e930
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/tools/metroconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,8 @@ export function withSentryResolver(config: MetroConfig, includeWebReplay: boolea
// @ts-expect-error test.
context.resolveRequest = sentryResolverRequest
if (context.resolveRequest === sentryResolverRequest) {
// eslint-disable-next-line no-console
console.error(
`[@sentry/react-native/metro] Cannot desolve the defaultResolver on Metro older than 0.68.
logger.error(
`Error: [@sentry/react-native/metro] Cannot desolve the defaultResolver on Metro older than 0.68.
Please follow one of the following options:
- Include your resolverRequest on your metroconfig.
- Update your Metro version to 0.68 or higher.
Expand Down

0 comments on commit 631e930

Please sign in to comment.