diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:33:49 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:36 +0100 |
commit | 0f42a14f6c201ac1d8d02abcd24f9d06e0d17545 (patch) | |
tree | 5be0ac651259d0d5ad78c57436f5d929c93bef9a /lib/common_test/test_server | |
parent | 18d9afbd5c62bb7b7237fe0d580fc05737a096c1 (diff) | |
download | otp-0f42a14f6c201ac1d8d02abcd24f9d06e0d17545.tar.gz otp-0f42a14f6c201ac1d8d02abcd24f9d06e0d17545.tar.bz2 otp-0f42a14f6c201ac1d8d02abcd24f9d06e0d17545.zip |
common_test: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/common_test/test_server')
-rw-r--r-- | lib/common_test/test_server/ts_install_cth.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/common_test/test_server/ts_install_cth.erl b/lib/common_test/test_server/ts_install_cth.erl index 5d325b1115..35a5ec916c 100644 --- a/lib/common_test/test_server/ts_install_cth.erl +++ b/lib/common_test/test_server/ts_install_cth.erl @@ -108,8 +108,7 @@ pre_init_per_suite(_Suite,Config,State) -> {add_node_name(Config, State), State} catch error:{badmatch,{error,enoent}} -> {add_node_name(Config, State), State}; - Error:Reason -> - Stack = erlang:get_stacktrace(), + Error:Reason:Stack -> ct:pal("~p failed! ~p:{~p,~p}",[?MODULE,Error,Reason,Stack]), {{fail,{?MODULE,{Error,Reason, Stack}}},State} end. |