Skip to content

Commit

Permalink
steamroll
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Apr 7, 2024
1 parent b164eff commit 49579e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/logger_formatter_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ to_string(X, _) when is_atom(X) -> atom_to_list(X);
to_string(X, _) when is_integer(X) -> integer_to_list(X);
to_string(X, _) when is_pid(X) -> pid_to_list(X);
to_string(X, _) when is_reference(X) -> ref_to_list(X);

to_string(X, Config) when is_list(X) ->
case printable_list(lists:flatten(X)) of
true -> X;
Expand Down

0 comments on commit 49579e7

Please sign in to comment.