Skip to content

Commit

Permalink
Don't print stacktraces, they seem to be useless at this moment
Browse files Browse the repository at this point in the history
  • Loading branch information
yrashk authored and Yurii Rashkovskii committed Apr 11, 2010
1 parent 7b900be commit eccb70a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/epitest_console_logger.erl
Expand Up @@ -59,8 +59,8 @@ handle_event({finished, _Plan}, State) ->
io:format("Time elapsed: ~s, actual run time: ~s~n",[format_elapsed(State#state.elapsed), format_elapsed(Diff)]),
%% Dump stacktraces
io:format("~n\e[4m\e[31mFailures:\e[24m~n~n"),
lists:foldl(fun ({Reason, Stacktrace}, Index) ->
io:format("\e[37m#~w) ~s ~n\e[31m~s~n", [Index, format_reason(Reason), format_stacktrace(Stacktrace)]),
lists:foldl(fun ({Reason, _Stacktrace}, Index) ->
io:format("\e[31m#~w) ~s~n", [Index, format_reason(Reason)]),
Index + 1
end, 1, lists:reverse(State#state.failures)),
io:format("\e[0m~n"),
Expand Down

0 comments on commit eccb70a

Please sign in to comment.