Skip to content

Commit 65132ba

Browse files
authored
style(integrations): Fix captured typo (#4161)
Small typo fix
1 parent 11abdd2 commit 65132ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: sentry_sdk/integrations/logging.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ def _emit(self, record):
232232
event["logger"] = record.name
233233

234234
# Log records from `warnings` module as separate issues
235-
record_caputured_from_warnings_module = (
235+
record_captured_from_warnings_module = (
236236
record.name == "py.warnings" and record.msg == "%s"
237237
)
238-
if record_caputured_from_warnings_module:
238+
if record_captured_from_warnings_module:
239239
# use the actual message and not "%s" as the message
240240
# this prevents grouping all warnings under one "%s" issue
241241
msg = record.args[0] # type: ignore

0 commit comments

Comments
 (0)