aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/z_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler/test/z_SUITE.erl')
-rw-r--r--lib/compiler/test/z_SUITE.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compiler/test/z_SUITE.erl b/lib/compiler/test/z_SUITE.erl
index d864184f4c..cd95d0e733 100644
--- a/lib/compiler/test/z_SUITE.erl
+++ b/lib/compiler/test/z_SUITE.erl
@@ -54,8 +54,7 @@ do_loaded([{M,_}|Ms], E0) ->
_ = M:module_info(functions),
E0
catch
- C:Error ->
- Stk = erlang:get_stacktrace(),
+ C:Error:Stk ->
io:format("~p:~p\n~p\n", [C,Error,Stk]),
E0 + 1
end,