Add missing assertion

This commit is contained in:
Craig Everett 2021-03-24 23:41:41 +09:00
parent e505846e52
commit 4f93c1e1ed

View File

@ -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