Skip to content

Commit

Permalink
[hotfix] Log toString of discarded message if RpcActor is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Feb 3, 2022
1 parent 2529767 commit f5504a0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ private void handleMessage(final Object message) {
log.info(
"The rpc endpoint {} has not been started yet. Discarding message {} until processing is started.",
rpcEndpoint.getClass().getName(),
message.getClass().getName());
message);

sendErrorIfSender(
new AkkaRpcException(
String.format(
"Discard message, because the rpc endpoint %s has not been started yet.",
rpcEndpoint.getAddress())));
"Discard message %s, because the rpc endpoint %s has not been started yet.",
message, rpcEndpoint.getAddress())));
}
}

Expand Down

0 comments on commit f5504a0

Please sign in to comment.