From 23cc698c4d29b1a77c21792e93710f5dfeb86c4f Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Wed, 16 Jul 2025 21:25:35 +0200 Subject: [PATCH] Fix warn message --- relay/client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/client/client.go b/relay/client/client.go index 537346edb..035c3e002 100644 --- a/relay/client/client.go +++ b/relay/client/client.go @@ -656,7 +656,7 @@ func (c *Client) readWithTimeout(ctx context.Context, buf []byte) (int, error) { func (c *Client) handlePeersOnlineMsg(buf []byte) { if c.stateSubscription == nil { - c.log.Warnf("message type %s is not supported by the server, peer state subscription feature is not available)", messages.MsgTypePeersOnline) + c.log.Warnf("message type %d is not supported by the server, peer state subscription feature is not available)", messages.MsgTypePeersOnline) return } @@ -670,7 +670,7 @@ func (c *Client) handlePeersOnlineMsg(buf []byte) { func (c *Client) handlePeersWentOfflineMsg(buf []byte) { if c.stateSubscription == nil { - c.log.Warnf("message type %s is not supported by the server, peer state subscription feature is not available)", messages.MsgTypePeersWentOffline) + c.log.Warnf("message type %d is not supported by the server, peer state subscription feature is not available)", messages.MsgTypePeersWentOffline) return }