Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed May 17, 2024
1 parent be62833 commit e28b36d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logfire/_internal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ def log(
# We update both because attributes_json_schema_properties looks at `attributes`.
attributes = {**attributes, **extra_attrs}
else:
# The message has already been filled in, presumably by a logging integration.
# Make sure it's a string.
msg = merged_attributes[ATTRIBUTES_MESSAGE_KEY] = str(msg)
msg_template = str(msg_template)

Expand Down

0 comments on commit e28b36d

Please sign in to comment.