aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:35:53 +0100
committerHans Bolinder <[email protected]>2018-02-05 14:45:37 +0100
commitc8f9f79352f7da02f212848b9a854ca2f6b553d5 (patch)
tree3fcec63dbab665cf0601c35176224bcb1f285363 /lib/et/src
parent35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444 (diff)
downloadotp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.tar.gz
otp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.tar.bz2
otp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.zip
et: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/et/src')
-rw-r--r--lib/et/src/et_wx_contents_viewer.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/et/src/et_wx_contents_viewer.erl b/lib/et/src/et_wx_contents_viewer.erl
index bca517317e..7ca41da3e8 100644
--- a/lib/et/src/et_wx_contents_viewer.erl
+++ b/lib/et/src/et_wx_contents_viewer.erl
@@ -93,8 +93,8 @@ start_link(Options) ->
end,
{ok, Pid}
catch
- error:Reason ->
- {error, {'EXIT', Reason, erlang:get_stacktrace()}}
+ error:Reason:Stacktrace ->
+ {error, {'EXIT', Reason, Stacktrace}}
end;
{error, Reason} ->
{error, Reason}