Skip to content

Commit 6238237

Browse files
docstring
1 parent 7ecdb21 commit 6238237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def serialize(event, **kwargs):
119119
* Annotating the payload with the _meta field whenever trimming happens.
120120
121121
:param max_request_body_size: If set to "always", will never trim request bodies.
122-
:param max_value_length: The max length to strip strings to, defaults to sentry_sdk.consts.DEFAULT_MAX_VALUE_LENGTH
122+
:param max_value_length: The max length to strip strings to, or None to disable string truncation. Defaults to None.
123123
:param is_vars: If we're serializing vars early, we want to repr() things that are JSON-serializable to make their type more apparent. For example, it's useful to see the difference between a unicode-string and a bytestring when viewing a stacktrace.
124124
:param custom_repr: A custom repr function that runs before safe_repr on the object to be serialized. If it returns None or throws internally, we will fallback to safe_repr.
125125

0 commit comments

Comments
 (0)