diff --git a/lib/ex_ice/priv/ice_agent.ex b/lib/ex_ice/priv/ice_agent.ex index 7e8bc53..a40857f 100644 --- a/lib/ex_ice/priv/ice_agent.ex +++ b/lib/ex_ice/priv/ice_agent.ex @@ -825,7 +825,8 @@ defmodule ExICE.Priv.ICEAgent do {:send, dst, data, client} -> cand = %{cand | client: client} ice_agent = put_in(ice_agent.local_cands[cand.base.id], cand) - do_send(ice_agent, cand, dst, data) + {_result, ice_agent} = do_send(ice_agent, cand, dst, data) + ice_agent {:error, _reason, client} -> Logger.debug("""