mirror of
https://github.com/iyear/tdl
synced 2025-01-09 04:17:35 +08:00
chore(util): add peer id in err msg (#413)
* add peer id in err msg * add peer id in err msg * add peer id in err msg --------- Co-authored-by: Rungen Zhu <rungen.zhu@shopee.com>
This commit is contained in:
parent
edf579bdc8
commit
7b03e1317d
@ -191,7 +191,7 @@ func (t telegram) GetSingleMessage(ctx context.Context, c *tg.Client, peer tg.In
|
||||
|
||||
// check if message is deleted
|
||||
if m.GetID() != msg {
|
||||
return nil, errors.Errorf("message %d may be deleted", msg)
|
||||
return nil, errors.Errorf("the message %d/%d may be deleted", t.GetInputPeerID(peer), msg)
|
||||
}
|
||||
|
||||
return m, nil
|
||||
|
Loading…
Reference in New Issue
Block a user