Skip to content

Commit cde3cfc

Browse files
BYKszokeasaurusrex
andauthored
Add *kwargs too, just in case
Co-authored-by: Daniel Szoke <[email protected]>
1 parent da1888d commit cde3cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def _capture_envelope(envelope):
418418
if self.options.get("spotlight"):
419419
self.spotlight = setup_spotlight(self.options)
420420
if not self.options["dsn"]:
421-
sample_all = lambda *_args: 1.0
421+
sample_all = lambda *_args, **_kwargs: 1.0
422422
self.options["send_default_pii"] = True
423423
self.options["error_sampler"] = sample_all
424424
self.options["traces_sampler"] = sample_all

0 commit comments

Comments
 (0)