Skip to content

Conversation

@sabiwara
Copy link
Contributor

@sabiwara sabiwara commented Nov 7, 2024

Clarifies the current behavior as pointed out in https://elixirforum.com/t/charlist-values-are-not-showing-up-in-logger-metadata/67256.

Alternatively, we could support it by removing this line (but it would crash on invalid charlists) or add a try/rescue with List.to_string?

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC we ran into issue once we integrated with Erlang's logger, so for now I would only document the current behaviour.

@sabiwara sabiwara merged commit fbeccf9 into elixir-lang:main Nov 7, 2024
11 checks passed
@sabiwara sabiwara deleted the clarify-metadata branch November 7, 2024 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants