summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_net.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rabbit_net.erl b/src/rabbit_net.erl
index a8b030b825..d168f66542 100644
--- a/src/rabbit_net.erl
+++ b/src/rabbit_net.erl
@@ -94,7 +94,6 @@ port_command(Sock, Data) when is_record(Sock, ssl_socket) ->
self() ! {inet_reply, Sock, ok},
true;
{error, Reason} ->
- self() ! {inet_reply, Sock, {error, Reason}},
erlang:error(Reason)
end;