Skip to content

Commit 3cf9ddb

Browse files
make item in lost item callback optional
1 parent f8b152d commit 3cf9ddb

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
@@ -360,7 +360,7 @@ def _capture_envelope(envelope):
360360
def _record_lost_event(
361361
reason, # type: str
362362
data_category, # type: EventDataCategory
363-
item, # type: Item
363+
item=None, # type: Optional[Item]
364364
quantity=1, # type: int
365365
):
366366
# type: (...) -> None

0 commit comments

Comments
 (0)