fix: issues

This commit is contained in:
Rogee
2024-09-13 08:56:56 +08:00
parent 0fdb7b5b2c
commit 89d975d084

View File

@@ -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 {