Skip to content

Commit

Permalink
docs: update captureFailedRequests code comment to match implementa…
Browse files Browse the repository at this point in the history
…tion (#3275)

* fix: make `captureFailedRequests` disabled by default

* Revert "fix: make `captureFailedRequests` disabled by default"

This reverts commit ad28c2b.

* docs: update `captureFailedRequests` comment to match implementation

---------

Co-authored-by: Alexander Dinauer <[email protected]>
  • Loading branch information
wzieba and adinauer authored Apr 2, 2024
1 parent fde534e commit a1f394c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import okhttp3.Response
* @param hub The [IHub], internal and only used for testing.
* @param beforeSpan The [ISpan] can be customized or dropped with the [BeforeSpanCallback].
* @param captureFailedRequests The SDK will only capture HTTP Client errors if it is enabled,
* Defaults to false.
* Defaults to true.
* @param failedRequestStatusCodes The SDK will only capture HTTP Client errors if the HTTP Response
* status code is within the defined ranges.
* @param failedRequestTargets The SDK will only capture HTTP Client errors if the HTTP Request URL
Expand Down

0 comments on commit a1f394c

Please sign in to comment.