Merge pull request #14135 from rabbitmq/mergify/bp/v4.1.x/pr-14134
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details

Follow up to #14132 (backport #14134)
This commit is contained in:
Michael Klishin 2025-06-25 23:32:35 +04:00 committed by GitHub
commit 5a41a13f7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

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