diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:35:53 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | c8f9f79352f7da02f212848b9a854ca2f6b553d5 (patch) | |
tree | 3fcec63dbab665cf0601c35176224bcb1f285363 /lib | |
parent | 35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444 (diff) | |
download | otp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.tar.gz otp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.tar.bz2 otp-c8f9f79352f7da02f212848b9a854ca2f6b553d5.zip |
et: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/et/src/et_wx_contents_viewer.erl | 4 |
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} |