From 3bc3e52dfdf76c21a223d690ddc35c35bd5675ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Thu, 30 Mar 2023 14:06:44 +0200 Subject: [PATCH] fix(changelog): Correct HTTP Client Errors entry and add an example (#2942) --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c902f4a28..ace86a2c05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,13 @@ const routingInstrumentation = new Sentry.ReactNativeNavigationInstrumentation(N ### Fixes -- Enable iOS HTTP Client Errors only if enabled in RN ([#2931](https://github.com/getsentry/sentry-react-native/pull/2931)) - - Add [HttpClient](https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#httpclient) to enable HTTP Client Errors on iOS. +- Disable HTTP Client Errors by default on all platform ([#2931](https://github.com/getsentry/sentry-react-native/pull/2931)) + - See [HttpClient](https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#httpclient) for configuration details. + - Use `enableCaptureFailedRequests` to enable the feature. + +```js +Sentry.init({ enableCaptureFailedRequests: true }) +``` ### Dependencies