mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix logging in tests on R17
This commit is contained in:
parent
3189bb3bb9
commit
c0b5c6e9d4
@ -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…
Reference in New Issue
Block a user