Skip to content

Commit 301d5bb

Browse files
authored
chore: Include full stack trace from first warning on artery reconnects (#32872)
1 parent 0c5e641 commit 301d5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

akka-remote/src/main/scala/akka/remote/artery/ArteryTransport.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ private[remote] abstract class ArteryTransport(_system: ExtendedActorSystem, _pr
588588
case _: AbruptTerminationException => // ActorSystem shutdown
589589
case cause =>
590590
if (restartCounter.restart()) {
591-
log.warning("{} failed. Restarting it. {}: {}", streamName, cause.getClass.getName, cause.getMessage)
591+
log.warning(cause, s"$streamName failed. Restarting it.")
592592
flightRecorder.transportRestartInbound(localAddress, streamName)
593593
restart()
594594
} else {

0 commit comments

Comments
 (0)