Adding a FIXME

This commit is contained in:
Viktor Klang 2012-06-06 14:04:02 +02:00
parent 211435048a
commit 1c5d0bdf42

View file

@ -65,6 +65,7 @@ private[akka] abstract class RemoteClient private[akka] (val netty: NettyRemoteT
new ChannelFutureListener {
def operationComplete(future: ChannelFuture) {
if (future.isCancelled || !future.isSuccess) {
//FIXME Should we just _not_ notifyListeners here and just assume that the other error reporting is sufficient?
netty.notifyListeners(RemoteClientError(future.getCause, netty, remoteAddress))
val (message, sender, recipient) = request
netty.system.deadLetters ! DeadLetter(message, sender.getOrElse(netty.system.deadLetters), recipient)