]> granicus.if.org Git - ejabberd/commitdiff
Better error message in logs
authorMickael Remond <mremond@process-one.net>
Wed, 6 Apr 2016 13:07:44 +0000 (15:07 +0200)
committerMickael Remond <mremond@process-one.net>
Wed, 6 Apr 2016 13:07:44 +0000 (15:07 +0200)
test/elixir_SUITE.erl

index 2d8c3c52d3bc51d5939d40654e65bd520b6fd553..7e2aa97a4dd79ba398db6e936ef8ab42774e9cd1 100644 (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.