aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_traceoptions_wx.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:33:32 +0100
committerHans Bolinder <[email protected]>2018-02-06 14:40:53 +0100
commit4e3405a381e023aca9b194e929868bea8ba112d2 (patch)
tree624a5222f1ef5deb6f21cab920dcbfdaf7f9569c /lib/observer/src/observer_traceoptions_wx.erl
parentc53939321c81330d802b7426592a12748fb9429d (diff)
downloadotp-4e3405a381e023aca9b194e929868bea8ba112d2.tar.gz
otp-4e3405a381e023aca9b194e929868bea8ba112d2.tar.bz2
otp-4e3405a381e023aca9b194e929868bea8ba112d2.zip
observer: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/observer/src/observer_traceoptions_wx.erl')
-rw-r--r--lib/observer/src/observer_traceoptions_wx.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_traceoptions_wx.erl b/lib/observer/src/observer_traceoptions_wx.erl
index fbcf6d7fe9..ff8c40ce77 100644
--- a/lib/observer/src/observer_traceoptions_wx.erl
+++ b/lib/observer/src/observer_traceoptions_wx.erl
@@ -536,7 +536,7 @@ ms_from_string(Str) ->
{error, List} -> throw([[Error, $\n] || {_, Error} <- List])
end
catch error:_Reason ->
- %% io:format("Bad term: ~ts~n ~tp in ~tp~n", [Str, _Reason, erlang:get_stacktrace()]),
+ %% io:format("Bad term: ~ts~n ~tp in ~tp~n", [Str, _Reason, Stacktrace]),
throw("Invalid term")
end.