Follow up to #14132

#14132 introduced a small bug in the JSON output that was caught by CI.
This commit is contained in:
Luke Bakken 2025-06-25 12:01:49 -07:00
parent e1b92e41ea
commit 33cb21ee92
No known key found for this signature in database
GPG Key ID: D99DE30E43EAE440
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ defmodule RabbitMQ.CLI.Formatters.Json do
"Ref(#{inspect(data)})"
end
defp convert_erlang_strings([]), do: []
defp convert_erlang_strings(data) when is_list(data) do
try do
case :unicode.characters_to_binary(data, :utf8) do