aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_server.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:35:32 +0100
committerHans Bolinder <[email protected]>2018-02-06 14:40:53 +0100
commit8dbccbf57fd5aa3044f55164a67fe7534fa213fe (patch)
treede3bc82faeaec6a10fb4f3db6d74966a8e4dac21 /lib/reltool/src/reltool_server.erl
parent8a0804939d0402730b4f07235b18893803472894 (diff)
downloadotp-8dbccbf57fd5aa3044f55164a67fe7534fa213fe.tar.gz
otp-8dbccbf57fd5aa3044f55164a67fe7534fa213fe.tar.bz2
otp-8dbccbf57fd5aa3044f55164a67fe7534fa213fe.zip
reltool: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/reltool/src/reltool_server.erl')
-rw-r--r--lib/reltool/src/reltool_server.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reltool/src/reltool_server.erl b/lib/reltool/src/reltool_server.erl
index 853191c696..66ee1a3742 100644
--- a/lib/reltool/src/reltool_server.erl
+++ b/lib/reltool/src/reltool_server.erl
@@ -135,8 +135,8 @@ init([{parent,Parent}|_] = Options) ->
catch
throw:{error,Reason} ->
proc_lib:init_ack(Parent,{error,Reason});
- error:Reason ->
- exit({Reason, erlang:get_stacktrace()})
+ error:Reason:Stacktrace ->
+ exit({Reason, Stacktrace})
end.
do_init(Options) ->