From 89d975d08463eafc00862dc7bf13456318eabcb6 Mon Sep 17 00:00:00 2001 From: Rogee Date: Fri, 13 Sep 2024 08:56:56 +0800 Subject: [PATCH] fix: issues --- internal/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/client.go b/internal/client.go index 2989dac..69b4888 100644 --- a/internal/client.go +++ b/internal/client.go @@ -75,7 +75,7 @@ func (t *TClient) ChannelInfoByID(ctx context.Context, channelID int64) (*tg.Cha &tg.InputChannel{ChannelID: channelID}, }) if err != nil { - return nil, errors.Wrap(err, "contacts.getChannelByID") + return nil, errors.Wrapf(err, "contacts.getChannelByID(%d)", channelID) } chats := p.GetChats() if len(chats) == 0 {