Follow up to #14132
#14132 introduced a small bug in the JSON output that was caught by CI.
This commit is contained in:
		
							parent
							
								
									e1b92e41ea
								
							
						
					
					
						commit
						33cb21ee92
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue