From 3a209c9b8fbbb5290ccfd87ae63225f9200c9b3e Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Thu, 30 Mar 2023 13:49:40 +0200 Subject: [PATCH] fix(changelog): Correct HTTP Client Errors entry and add an example --- 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