Skip to content

Commit ef5f9fb

Browse files
committed
fix
1 parent 3eac621 commit ef5f9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _capture_log(
3636

3737
attrs: "Attributes" = {}
3838

39-
if kwargs.get("attributes"):
39+
if "attributes" in kwargs:
4040
attrs.update(kwargs.pop("attributes"))
4141

4242
for k, v in kwargs.items():

0 commit comments

Comments
 (0)