Add missing assertion
This commit is contained in:
parent
e505846e52
commit
4f93c1e1ed
@ -83,7 +83,7 @@ disconnect(Socket, Host, Port) ->
|
||||
after 0 -> ok
|
||||
end;
|
||||
{error, E} ->
|
||||
log(warning, "~ts:~w disconnect failed with: ~w", [Host, Port, E]),
|
||||
ok = log(warning, "~ts:~w disconnect failed with: ~w", [Host, Port, E]),
|
||||
receive
|
||||
{tcp_closed, Socket} -> ok
|
||||
after 0 -> ok
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user