Skip to content

Commit fdf07bc

Browse files
committed
null gate
1 parent 027e704 commit fdf07bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,8 @@ def _capture_experimental_log(self, current_scope, log):
923923
if log is None:
924924
return
925925

926-
self.log_batcher.add(log)
926+
if self.log_batcher:
927+
self.log_batcher.add(log)
927928

928929
def capture_session(
929930
self, session # type: Session

0 commit comments

Comments
 (0)