Skip to content

Commit

Permalink
Remove extraneous dev debug code left in the close function.
Browse files Browse the repository at this point in the history
We do not need a traceback on every close in inet_tls_dist and this
breaks using nodetool in control scripts on SSL clustered nodes
  • Loading branch information
Ken Key authored and rimmius committed Oct 31, 2013
1 parent b646475 commit fd60460
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/ssl/src/inet_tls_dist.erl
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ do_setup(Kernel, Node, Type, MyNode, LongOrShortNames, SetupTime) ->
end.

close(Socket) ->
try
erlang:error(foo)
catch _:_ ->
io:format("close called ~p ~p~n",[Socket, erlang:get_stacktrace()])
end,
gen_tcp:close(Socket),
ok.

Expand Down

0 comments on commit fd60460

Please sign in to comment.