25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Better error message in logs

This commit is contained in:
Mickael Remond 2016-04-06 15:07:44 +02:00
parent abf768274a
commit a9e50468b6

View File

@ -84,7 +84,7 @@ run_elixir_test(Func) ->
%% Zero failures
ok;
{ok, Failures} ->
ct:print("Elixir tests failed: ~.10B~nSee logs for details", [Failures]),
ct:print("Elixir test failed in module '~p': ~.10B~nSee logs for details", [Func, Failures]),
ct:fail(elixir_test_failure)
end.