From 4c1aa86d5ad8f439770a7241ccd939772f1a56c2 Mon Sep 17 00:00:00 2001 From: ntsd Date: Wed, 21 Aug 2024 07:40:54 +0700 Subject: [PATCH] fix: error formatter --- pkg/crossclipboard/crossclipboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/crossclipboard/crossclipboard.go b/pkg/crossclipboard/crossclipboard.go index ee8b18e..eb22de3 100644 --- a/pkg/crossclipboard/crossclipboard.go +++ b/pkg/crossclipboard/crossclipboard.go @@ -122,7 +122,7 @@ func NewCrossClipboard(cfg *config.Config) (*CrossClipboard, error) { break } if retry == 5 { - cc.ErrorChan <- xerror.NewRuntimeErrorf("error to connect to peer %d", peerInfo.ID.Pretty()) + cc.ErrorChan <- xerror.NewRuntimeErrorf("error to connect to peer %s", peerInfo.ID.Pretty()) continue }