Presumably the scenario is that we will retry so I guess we should log each
connection error when the exception is thrown.

What can we do if we were to return false? We can always do this later once
we decide how to handle the error, no?

-leo

On Fri, Nov 11, 2011 at 11:25 AM, Karthik Kambatla
<[email protected]>wrote:

> How should we go about handling connection failures (not being able to
> connect to) for a send().
>
> We can either (1) throw java.net.ConnectException or (2) return false. In
> the second case, we need to modify the Emitter.send to return boolean.
> Comments?
>
> Thanks
> Karthik
>



-- 

Leo Neumeyer (@leoneu)

Reply via email to