Skip to content

Commit 54d8b23

Browse files
dreamorosisvozza
andauthored
Update docs/upgrade.md
Co-authored-by: Stefano Vozza <[email protected]>
1 parent 875506f commit 54d8b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ The Metrics utility is currently undergoing changes to the public interface as p
169169

170170
<!-- - Remove deprecated methods: https://github.com/aws-powertools/powertools-lambda-java/pull/1624/files#diff-9b8ed4ca67e310d3ae90e61e2ceffbfec0402082b5a1f741d467f132e3370a21 -->
171171

172-
The deprecated `captureError` and `captureResponse` arguments to the `@Tracing` annotation were removed in v2 and replaced in favor of a new `captureMode` parameter. The new parameter can be passed an Enum value of `CaptureMode`.
172+
The deprecated `captureError` and `captureResponse` arguments to the `@Tracing` annotation were removed in v2 and replaced by a new `captureMode` parameter. The parameter can be passed an Enum value of `CaptureMode`.
173173

174174
You should update your code using the new `captureMode` argument:
175175

0 commit comments

Comments
 (0)