Skip to content

Commit

Permalink
Add detail to unreachable message (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-at-redhat authored Oct 2, 2024
1 parent 6f7154d commit 1be2c55
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/netceptor/netceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,13 @@ func (s *Netceptor) handleUnreachable(md *MessageData) error {
UnreachableMessage: unrMsg,
ReceivedFromNode: md.FromNode,
}
s.Logger.Warning("Received unreachable message from %s", md.FromNode)
s.Logger.Warning("Received unreachable message from %s (service %s) to %s (service %s): ttl %v, data %s",
md.FromNode,
md.FromService,
md.ToNode,
md.ToService,
md.HopsToLive,
unrMsg.Problem)

return s.unreachableBroker.Publish(unrData)
}
Expand Down

0 comments on commit 1be2c55

Please sign in to comment.