mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Fix logging in tests on R17
This commit is contained in:
parent
3189bb3bb9
commit
c0b5c6e9d4
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ decode_stream_element(NS, El) ->
|
|||
format_element(El) ->
|
||||
case erlang:function_exported(ct, log, 5) of
|
||||
true -> ejabberd_web_admin:pretty_print_xml(El);
|
||||
false -> io_lib:format(" ~s~n", El)
|
||||
false -> io_lib:format("~p~n", [El])
|
||||
end.
|
||||
|
||||
decode(El, NS, Opts) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue