aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/inet_res_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:33:21 +0100
committerHans Bolinder <[email protected]>2018-02-05 14:45:37 +0100
commit798f2151429ef7ea05d858e5ba9efc6d5cc3e10a (patch)
tree181f2eac563fc62baa80f3a5a3c8caa443721073 /lib/kernel/test/inet_res_SUITE.erl
parentb2e979e1b0cc376e7408cbdd480eb140b533f75a (diff)
downloadotp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.tar.gz
otp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.tar.bz2
otp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.zip
kernel: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/kernel/test/inet_res_SUITE.erl')
-rw-r--r--lib/kernel/test/inet_res_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/inet_res_SUITE.erl b/lib/kernel/test/inet_res_SUITE.erl
index 6691ad9c06..2a5b8d0044 100644
--- a/lib/kernel/test/inet_res_SUITE.erl
+++ b/lib/kernel/test/inet_res_SUITE.erl
@@ -217,10 +217,10 @@ proxy_start(TC, {NS,P}) ->
spawn_link(
fun () ->
try proxy_start(TC, NS, P, Parent, Tag)
- catch C:X ->
+ catch C:X:Stacktrace ->
io:format(
"~w: ~w:~p ~p~n",
- [self(),C,X,erlang:get_stacktrace()])
+ [self(),C,X,Stacktrace])
end
end),
receive {started,Tag,Port} ->