Skip to content

Commit 97fdaae

Browse files
committed
docs: fix wording on disable exception example
1 parent aeabcb6 commit 97fdaae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/core/tracer.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def handler(event, context):
9595

9696
You can disable Tracer from capturing their exceptions as tracing metadata with <strong><code>capture_error=False</code></strong> parameter in both capture_lambda_handler and capture_method decorators.
9797

98-
```python:title=do_not_capture_response_as_metadata.py
99-
# Disables Tracer from capturing response and adding as metadata
98+
```python:title=do_not_capture_exception_as_metadata.py
99+
# Disables Tracer from capturing exception and adding as metadata
100100
# Useful when dealing with sensitive data
101101
@tracer.capture_lambda_handler(capture_error=False) # highlight-line
102102
def handler(event, context):

0 commit comments

Comments
 (0)