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 }