diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:33:21 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | 798f2151429ef7ea05d858e5ba9efc6d5cc3e10a (patch) | |
tree | 181f2eac563fc62baa80f3a5a3c8caa443721073 /lib/kernel/src/dist_util.erl | |
parent | b2e979e1b0cc376e7408cbdd480eb140b533f75a (diff) | |
download | otp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.tar.gz otp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.tar.bz2 otp-798f2151429ef7ea05d858e5ba9efc6d5cc3e10a.zip |
kernel: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/kernel/src/dist_util.erl')
-rw-r--r-- | lib/kernel/src/dist_util.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl index fb9f7fd7eb..5ea0ca991f 100644 --- a/lib/kernel/src/dist_util.erl +++ b/lib/kernel/src/dist_util.erl @@ -539,8 +539,8 @@ do_setnode(#hs_data{other_node = Node, socket = Socket, "no table space left for node ~w ** ~n", [Node]), ?shutdown(Node); - error:Other -> - exit({Other, erlang:get_stacktrace()}) + error:Other:Stacktrace -> + exit({Other, Stacktrace}) end; _ -> error_msg("** Distribution connection error, " |