dcapwell commented on code in PR #56:
URL: https://github.com/apache/cassandra-accord/pull/56#discussion_r1298662843
##########
accord-core/src/test/java/accord/impl/basic/NodeSink.java:
##########
@@ -82,4 +83,10 @@ public void reply(Id replyToNode, ReplyContext replyContext,
Reply reply)
{
parent.add(self, replyToNode, Packet.getMessageId(replyContext),
reply);
}
+
+ @Override
+ public void replyWithFailure(Id replyingToNode, ReplyContext replyContext,
Throwable failure)
+ {
+ reply(replyingToNode, replyContext, new FailureReply(failure));
Review Comment:
```suggestion
lookup.apply(self).agent().onUncaughtException(failure);
reply(replyingToNode, replyContext, new FailureReply(failure));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]