aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/gen_util.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:32:38 +0100
committerHans Bolinder <[email protected]>2018-02-06 14:40:54 +0100
commit1e06450adbf6d1f69ce70e198aa4ad1715f811c0 (patch)
tree083d467b4c4adfa0d23cb8228e6e72e250f562ce /lib/wx/api_gen/gen_util.erl
parent2936190ade5105e8aa35592d9a8490a393c709c9 (diff)
downloadotp-1e06450adbf6d1f69ce70e198aa4ad1715f811c0.tar.gz
otp-1e06450adbf6d1f69ce70e198aa4ad1715f811c0.tar.bz2
otp-1e06450adbf6d1f69ce70e198aa4ad1715f811c0.zip
wx: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/wx/api_gen/gen_util.erl')
-rw-r--r--lib/wx/api_gen/gen_util.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/api_gen/gen_util.erl b/lib/wx/api_gen/gen_util.erl
index 5e2f405498..3068a2f4ea 100644
--- a/lib/wx/api_gen/gen_util.erl
+++ b/lib/wx/api_gen/gen_util.erl
@@ -106,8 +106,8 @@ check_diff(Diff) ->
throw:_ -> diff;
error:{badmatch,_} ->
diff;
- _:What ->
- io:format("~p:~p: ~p ~p~n", [?MODULE,?LINE, What, erlang:get_stacktrace()]),
+ _:What:Stacktrace ->
+ io:format("~p:~p: ~p ~p~n", [?MODULE,?LINE, What, Stacktrace]),
diff
end.